From 0b6aec2f6ccfc43099abc9eaf0c293dbea1fe445 Mon Sep 17 00:00:00 2001 From: Emilia Date: Tue, 30 Jan 2024 20:56:48 -0500 Subject: [PATCH] pls work --- Jenkinsfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 '''