Skip to content

Commit

Permalink
Override checkout to work in fork
Browse files Browse the repository at this point in the history
  • Loading branch information
domhanak committed Feb 6, 2024
1 parent 5cc5676 commit e7f8859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/jenkins/scripts/helper.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ String getTempTag() {
void checkoutRepo(String repoName = '', String directory = '') {
repoName = repoName ?: getRepoName()
closure = {
checkout(githubscm.resolveRepository(repoName, 'domhanak', getBuildBranch(), false, getGitAuthorCredsId()))
checkout(githubscm.resolveRepository(repoName, 'domhanak', getBuildBranch(), false, ''))
// need to manually checkout branch since on a detached branch after checkout command
//sh "git checkout ${getBuildBranch()}"
}
Expand Down

0 comments on commit e7f8859

Please sign in to comment.