Step 4
parent
19f4430556
commit
51500a4e35
|
@ -33,6 +33,7 @@ pipeline {
|
|||
steps {
|
||||
sh """
|
||||
sed 's|ogcore-php:static|${DOCKER_IDENTITY}|g; s|ogcore-nginx:static|${DOCKER_IDENTITY_NGINX}|g' ${DOCKER_COMPOSE_TEMPLATE} > ${DOCKER_COMPOSE_FILE}
|
||||
cat ${DOCKER_COMPOSE_FILE}
|
||||
"""
|
||||
}
|
||||
}
|
||||
|
@ -54,6 +55,11 @@ pipeline {
|
|||
"""
|
||||
}
|
||||
}
|
||||
stage ("Stop containers") {
|
||||
steps {
|
||||
sh "docker compose -f ${DOCKER_COMPOSE_FILE} down"
|
||||
}
|
||||
}
|
||||
stage ("Delete Image") {
|
||||
steps {
|
||||
script {
|
||||
|
|
Loading…
Reference in New Issue