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 {
stage('Build') {
steps {
sh 'npm install'
sh 'npm build'
// sh 'npm install'
// sh 'npm run build'
}
}
stage('If dev') {
stage('Deploy: dev') {
when {
branch 'develop'
}
@ -23,7 +23,7 @@ pipeline {
}
}
stage('If master') {
stage('Deploy: master') {
when {
branch 'master'
}