diff --git a/ci/Jenkinsfile.combined b/ci/Jenkinsfile.combined index 43cc6b47ed..d0cd069c77 100644 --- a/ci/Jenkinsfile.combined +++ b/ci/Jenkinsfile.combined @@ -81,7 +81,7 @@ pipeline { stage('Publish') { when { expression { params.PUBLISH } } steps { script { - switch (btype) { + switch (utils.getBuildType()) { case 'nightly': /* Create JSON file with newest build URLs */ s3.updateBucketJSON(urls, 'latest.json'); break;