Skip to content

Commit 2064862

Browse files
committed
fix: remove name conflicts Jenkinsfile
1 parent cd8fd50 commit 2064862

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

deploy/Jenkinsfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ podTemplate(label: 'build-pod-sourcerer-app',
1313
) {
1414
node('build-pod-sourcerer-app') {
1515
def namespace = 'staging'
16-
def env = 'development'
16+
def benv = 'development'
1717
if (env.BRANCH_NAME == 'master') {
18-
env = 'production'
18+
benv = 'production'
1919
namespace = 'production'
2020
}
2121

@@ -25,7 +25,7 @@ podTemplate(label: 'build-pod-sourcerer-app',
2525

2626
stage('build jar and test') {
2727
container('gradle') {
28-
sh("ENV=${env} ./do.sh build_jar_inside")
28+
sh("ENV=${benv} ./do.sh build_jar_inside")
2929
}
3030
}
3131

0 commit comments

Comments
 (0)