Skip to content

Commit

Permalink
Change to check for master branch
Browse files Browse the repository at this point in the history
when pushing to s3 in publish stage
  • Loading branch information
justaddcoffee committed May 7, 2020
1 parent 2aff9dd commit c18fd11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ pipeline {
steps {

script {
if (env.BRANCH_NAME != 'jenkins') {
if (env.BRANCH_NAME != 'master') {
echo "Will not push if not on correct branch."
} else {
withCredentials([file(credentialsId: 's3cmd_kg_hub_push_configuration', variable: 'S3CMD_JSON')]) {
Expand Down

0 comments on commit c18fd11

Please sign in to comment.