diff --git a/Jenkinsfile b/Jenkinsfile index 1f9c12d1..d55ac862 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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')]) {