Skip to content

Commit 6d4cd4b

Browse files
author
ranjeet-pivotchain
committed
env
1 parent bd3aab9 commit 6d4cd4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pipeline {
1414
stage('Test') {
1515
when{
1616
expression {
17-
BRANCH_NAME = dev || BRANCH_NAME = master
17+
env.BRANCH_NAME = dev || env.BRANCH_NAME = main
1818
}
1919
}
2020
// Below code only execute when branch is DEV or master

0 commit comments

Comments
 (0)