diff --git a/Jenkinsfile b/Jenkinsfile index f7c43dd8bd..6ff63e2772 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,7 +15,7 @@ parallel_nodes(['linux && cura', 'windows && cura']) { // Perform the "build". Since Uranium is Python code, this basically only ensures CMake is setup. stage('Build') { def branch = env.BRANCH_NAME - if(branch != "master" && !fileExists("${env.CURA_ENVIRONMENT_PATH}/${branch})) { + if(!fileExists("${env.CURA_ENVIRONMENT_PATH}/${branch}")) { branch = "master" }