Skip to content

Commit

Permalink
Updated Jenkins for building a release package for the git tag
Browse files Browse the repository at this point in the history
  • Loading branch information
AionJayT committed Jan 24, 2020
1 parent 0043db3 commit c17f072
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pipeline {
stage('Archive build output') {
when {
expression {
GIT_BRANCH == 'master'
GIT_BRANCH == 'master' || buildingTag()
}
}

Expand All @@ -38,7 +38,7 @@ pipeline {
when {
// only run if:
// - this branch is master
expression {GIT_BRANCH == 'master'}
expression {GIT_BRANCH == 'master' || buildingTag()}
}

steps {
Expand Down Expand Up @@ -70,7 +70,7 @@ pipeline {
// only run if:
// - this branch is in a PR (env.CHANGE_ID not null), or
// - this branch is master
expression { env.CHANGE_ID || GIT_BRANCH == 'master'}
expression { env.CHANGE_ID || GIT_BRANCH == 'master' || buildingTag()}
}
steps {
timeout(20) {
Expand Down

0 comments on commit c17f072

Please sign in to comment.