diff --git a/Jenkinsfile b/Jenkinsfile index a56b3ca..d5eb792 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,12 +1,10 @@ pipeline { agent any + environment { + OUTPUT_DIR = "${env.BRANCH_NAME == "main" ? "plate-tool" : "plate-tool-beta"}" + } stages { - stage('Setup') { - environment { - OUTPUT_DIR = "${env.BRANCH_NAME == "main" ? "plate-tool" : "plate-tool-beta"}" - } - } stage('Build') { steps { sh '''