This commit is contained in:
Jenkins 2021-09-02 21:22:38 +00:00
parent b2f289f870
commit 380f05e343
2 changed files with 2 additions and 5 deletions

1
CNAME
View File

@ -1 +0,0 @@
new.dev.vac

6
Jenkinsfile vendored
View File

@ -43,8 +43,7 @@ pipeline {
} }
stage('Publish Prod') { stage('Publish Prod') {
//when { expression { env.GIT_BRANCH ==~ /.*master/ } } when { expression { env.GIT_BRANCH ==~ /.*master/ } }
when { expression { !(env.GIT_BRANCH ==~ /.*master/) } }
steps { steps {
sshagent(credentials: ['status-im-auto-ssh']) { sshagent(credentials: ['status-im-auto-ssh']) {
sh 'yarn run deploy' sh 'yarn run deploy'
@ -53,8 +52,7 @@ pipeline {
} }
stage('Publish Devel') { stage('Publish Devel') {
//when { expression { !(env.GIT_BRANCH ==~ /.*master/) } } when { expression { !(env.GIT_BRANCH ==~ /.*master/) } }
when { expression { (env.GIT_BRANCH ==~ /.*master/) } }
steps { steps {
sshagent(credentials: ['jenkins-ssh']) { sshagent(credentials: ['jenkins-ssh']) {
sh """ sh """