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 {
|
stages {
|
||||||
stage('Pull Docker Images') {
|
stage('Pull Docker Images') {
|
||||||
steps {
|
steps {
|
||||||
sh 'docker-compose -p $PROJECT_NAME pull'
|
sh 'docker compose pull'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
steps {
|
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