diff --git a/Jenkinsfile b/Jenkinsfile index 0bff50a..a56b3ca 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,14 +3,8 @@ pipeline { stages { stage('Setup') { - if (env.BRANCH_NAME == 'main') { - environment { - OUTPUT_DIR = 'plate-tool' - } - } else { - environment { - OUTPUT_DIR = 'plate-tool-beta' - } + environment { + OUTPUT_DIR = "${env.BRANCH_NAME == "main" ? "plate-tool" : "plate-tool-beta"}" } } stage('Build') {