Step 4
testing/ogcore-api/pipeline/head There was a failure building this commit Details

develop-jenkins
Nicolas Arenas 2024-10-23 01:08:14 +02:00
parent d5a93b9cfe
commit 3e8cdbb86e
1 changed files with 6 additions and 0 deletions

6
Jenkinsfile vendored
View File

@ -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 {