update Jenkinsifle, add update docker images stage
This commit is contained in:
parent
fb842ee750
commit
ff1b62d22b
|
@ -14,6 +14,19 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
stage('Update Docker') {
|
||||||
|
steps {
|
||||||
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE'){
|
||||||
|
sh 'docker pull docker.infini.ltd:64443/nodejs-dev:latest'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
stage('Update Files') {
|
stage('Update Files') {
|
||||||
steps {
|
steps {
|
||||||
sh 'cd /home/deploy/logging-center && git pull origin master'
|
sh 'cd /home/deploy/logging-center && git pull origin master'
|
||||||
|
|
Loading…
Reference in New Issue