test jenkins

This commit is contained in:
Fedor Katurov 2020-03-20 20:27:03 +07:00
parent 124bffedfe
commit 750c39102d

8
Jenkinsfile vendored
View file

@ -8,12 +8,12 @@ pipeline {
stages { stages {
stage('Build') { stage('Build') {
steps { steps {
sh 'npm install' // sh 'npm install'
sh 'npm build' // sh 'npm run build'
} }
} }
stage('If dev') { stage('Deploy: dev') {
when { when {
branch 'develop' branch 'develop'
} }
@ -23,7 +23,7 @@ pipeline {
} }
} }
stage('If master') { stage('Deploy: master') {
when { when {
branch 'master' branch 'master'
} }