Skip to content

Commit

Permalink
[7.59.x] Update jenkins shared lib PR check (#1196) (#1197)
Browse files Browse the repository at this point in the history
* Update jenkins shared lib PR check (#1196)

* correction
  • Loading branch information
radtriste authored Jan 21, 2022
1 parent a3fe502 commit b3a38d2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions job-dsls/jobs/kie/main/jenkins_shared_libs.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ pipelineJob(jobName) {
gitSCM {
userRemoteConfigs {
userRemoteConfig {
url("https://github.com/\${ghprbPullAuthorLogin}/${repository}/")
url("https://github.com/${ghOrgUnit}/${repository}/")
credentialsId(ghJenkinsfilePwd)
name('')
refspec('')
refspec('+refs/pull/*:refs/remotes/origin/pr/*')
}
}
branches {
branchSpec {
name('${ghprbSourceBranch}')
name('${sha1}')
}
}
browser { }
Expand Down Expand Up @@ -83,7 +83,7 @@ pipelineJob(jobName) {
blackListCommitAuthor('')
whiteListTargetBranches {
ghprbBranch {
branch('main')
branch(baseBranch)
}
}
blackListTargetBranches {}
Expand Down

0 comments on commit b3a38d2

Please sign in to comment.