Fix to push imagws
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
parent
b0ec7ee6f0
commit
82c61a8caf
|
@ -19,8 +19,8 @@ pipeline {
|
||||||
stage('Build Environment') {
|
stage('Build Environment') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
app = docker.build("${DOCKER_IDENTITY}", '-f docker/Dockerfile-php .')
|
docker.build("${DOCKER_IDENTITY}", '-f docker/Dockerfile-php .')
|
||||||
nginx = docker.build("${DOCKER_IDENTITY_NGINX}", '-f docker/Dockerfile-nginx .')
|
docker.build("${DOCKER_IDENTITY_NGINX}", '-f docker/Dockerfile-nginx .')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -63,8 +63,8 @@ pipeline {
|
||||||
success {
|
success {
|
||||||
script {
|
script {
|
||||||
docker.withRegistry('https://index.docker.io/v1/', "${DOCKER_CREDENTIALS}") {
|
docker.withRegistry('https://index.docker.io/v1/', "${DOCKER_CREDENTIALS}") {
|
||||||
app.push("${DOCKER_IDENTITY}")
|
docker.image("${DOCKER_IDENTITY}").push()
|
||||||
nginx.push("${DOCKER_IDENTITY_NGINX}")
|
docker.image("${DOCKER_IDENTITY_NGINX}").push()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -73,13 +73,11 @@ pipeline {
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
script {
|
// Publicar los resultados de las pruebas de PHPUnit
|
||||||
// Publicar los resultados de las pruebas de PHPUnit
|
xunit (
|
||||||
xunit (
|
thresholds: [ skipped(failureThreshold: '0'), failed(failureThreshold: '0') ],
|
||||||
thresholds: [ skipped(failureThreshold: '0'), failed(failureThreshold: '0') ],
|
tools: [ PHPUnit(pattern: 'phpunit.xml') ]
|
||||||
tools: [ PHPUnit(pattern: 'phpunit.xml') ]
|
)
|
||||||
)
|
|
||||||
}
|
|
||||||
// Remove containers
|
// Remove containers
|
||||||
sh 'docker compose -f ${DOCKER_COMPOSE_FILE} down'
|
sh 'docker compose -f ${DOCKER_COMPOSE_FILE} down'
|
||||||
sh 'docker compose -f ${DOCKER_COMPOSE_FILE} rm -f'
|
sh 'docker compose -f ${DOCKER_COMPOSE_FILE} rm -f'
|
||||||
|
|
Loading…
Reference in New Issue