Skip to content

Commit

Permalink
Merge pull request #38 from bcgov-nr/feat/deployTag
Browse files Browse the repository at this point in the history
feat: checkout tag
  • Loading branch information
andrwils authored Feb 29, 2024
2 parents fe54951 + 98bb593 commit 9187aff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipelines/shared/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pipeline {
}
environment {
GIT_REPO = "${params.gitRepo}"
GIT_BRANCH = "${params.gitBranch}"
GIT_BRANCH = "${params.gitTag != null && params.gitTag != "" ? params.gitTag : params.gitBranch}"
GITHUB_PRIVATE_REPO = "${params.githubToken != null && params.githubToken != "" ? 'true' : ''}"
}
steps {
Expand Down

0 comments on commit 9187aff

Please sign in to comment.