This commit is contained in:
parent
17d2e0750a
commit
381f04ac6a
|
@ -12,11 +12,13 @@ pipeline {
|
|||
stage('Checkout') {
|
||||
steps {
|
||||
script {
|
||||
// Uncomment to enable debugging
|
||||
//env.DEBUG = 'strong-remoting:http-context,strong-remoting:shared-method'
|
||||
|
||||
switch (env.BRANCH_NAME) {
|
||||
case 'master':
|
||||
env.NODE_ENV = 'production'
|
||||
env.BACK_REPLICAS = 4
|
||||
env.DEBUG = 'strong-remoting:http-context,strong-remoting:shared-method'
|
||||
break
|
||||
case 'test':
|
||||
env.NODE_ENV = 'test'
|
||||
|
|
Loading…
Reference in New Issue