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