Update main version #7
|
@ -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'
|
||||
}
|
||||
OUTPUT_DIR = "${env.BRANCH_NAME == "main" ? "plate-tool" : "plate-tool-beta"}"
|
||||
}
|
||||
}
|
||||
stage('Build') {
|
||||
|
|
Loading…
Reference in New Issue