Fixed jenkinsfile

This commit is contained in:
Artyom Belousov 2019-10-15 23:25:37 +03:00
parent 4598a7ec23
commit e896b3abba

7
Jenkinsfile vendored
View file

@ -1,20 +1,19 @@
pipeline { pipeline {
agent any agent any
stages { stages {
stage('Pull') { stage('Pull') {
steps { steps {
sh git pull sh 'git pull'
} }
} }
stage('Test') { stage('Test') {
steps { steps {
sh ./deploy.sh test sh './deploy.sh test'
} }
} }
stage('Deploy') { stage('Deploy') {
steps { steps {
sh ./deploy.sh prod sh './deploy.sh prod'
} }
} }
} }