Skip to content

Commit

Permalink
fix(pipelines/pingcap/tidb/latest): support set peer repos in PR title (
Browse files Browse the repository at this point in the history
#1670)

examples:
- `<scope>: the PR main title | tidb-test=pr/1234`
- `<scope>: the PR main title | plugin=pr/456`
  • Loading branch information
wuhuizuo authored Dec 28, 2022
1 parent b5c00b2 commit 2308cf8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pipelines/pingcap/tidb/latest/ghpr_build.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ pipeline {
cache(path: "./", filter: '**/*', key: "git/pingcap/enterprise-plugin/rev-${REFS.pulls[0].sha}", restoreKeys: ['git/pingcap/enterprise-plugin/rev-']) {
retry(2) {
script {
component.checkout('git@github.com:pingcap/enterprise-plugin.git', 'plugin', REFS.base_ref, '', GIT_CREDENTIALS_ID)
component.checkout('git@github.com:pingcap/enterprise-plugin.git', 'plugin', REFS.base_ref, REFS.pulls[0].title, GIT_CREDENTIALS_ID)
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion pipelines/pingcap/tidb/latest/ghpr_mysql_test.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pipeline {
cache(path: "./", filter: '**/*', key: "git/pingcap/tidb-test/rev-${REFS.pulls[0].sha}", restoreKeys: ['git/pingcap/tidb-test/rev-']) {
retry(2) {
script {
component.checkout('git@github.com:pingcap/tidb-test.git', 'tidb-test', REFS.base_ref, '', GIT_CREDENTIALS_ID)
component.checkout('git@github.com:pingcap/tidb-test.git', 'tidb-test', REFS.base_ref, REFS.pulls[0].title, GIT_CREDENTIALS_ID)
}
}
}
Expand Down

0 comments on commit 2308cf8

Please sign in to comment.