Skip to content

Commit

Permalink
Merge 2159f96 into cdf24bf
Browse files Browse the repository at this point in the history
  • Loading branch information
justaddcoffee committed May 23, 2020
2 parents cdf24bf + 2159f96 commit 1d756a4
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 @@ -54,7 +54,7 @@ pipeline {
script: '. venv/bin/activate && python3.7 run.py download', returnStatus: true
)
if (run_py_dl == 0) {
if (env.BRANCH_NAME == 'master') { // upload raw to s3 if we're on correct branch
if (env.BRANCH_NAME != 'master') { // upload raw to s3 if we're on correct branch
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 1d756a4

Please sign in to comment.