We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd8fd50 commit 2064862Copy full SHA for 2064862
deploy/Jenkinsfile
@@ -13,9 +13,9 @@ podTemplate(label: 'build-pod-sourcerer-app',
13
) {
14
node('build-pod-sourcerer-app') {
15
def namespace = 'staging'
16
- def env = 'development'
+ def benv = 'development'
17
if (env.BRANCH_NAME == 'master') {
18
- env = 'production'
+ benv = 'production'
19
namespace = 'production'
20
}
21
@@ -25,7 +25,7 @@ podTemplate(label: 'build-pod-sourcerer-app',
25
26
stage('build jar and test') {
27
container('gradle') {
28
- sh("ENV=${env} ./do.sh build_jar_inside")
+ sh("ENV=${benv} ./do.sh build_jar_inside")
29
30
31
0 commit comments