Update Jenkinsfile
Some checks failed
Updates/Joplin/pipeline/head There was a failure building this commit
Some checks failed
Updates/Joplin/pipeline/head There was a failure building this commit
This commit is contained in:
parent
f8998e3723
commit
9c5c215be8
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -6,12 +6,12 @@ pipeline {
|
||||
stages {
|
||||
stage('Pull Docker Images') {
|
||||
steps {
|
||||
sh 'docker-compose -p $PROJECT_NAME pull'
|
||||
sh 'docker compose pull'
|
||||
}
|
||||
}
|
||||
stage('Deploy') {
|
||||
steps {
|
||||
sh 'docker-compose -p $PROJECT_NAME up -d --force-recreate'
|
||||
sh 'PROJECT_NAME=${PROJECT_NAME} docker compose up -d --force-recreate'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user