Fixed jenkinsfile
This commit is contained in:
parent
4598a7ec23
commit
e896b3abba
1 changed files with 3 additions and 4 deletions
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
|
|
@ -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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue