Xunit back to node
testing/ogcore-api/pipeline/head There was a failure building this commit Details

develop-jenkins
Nicolas Arenas 2024-10-23 00:40:08 +02:00
parent b1c59266e3
commit 0280923633
1 changed files with 7 additions and 5 deletions

12
Jenkinsfile vendored
View File

@ -73,11 +73,13 @@ pipeline {
} }
post { post {
always { always {
// Publish JUnit test results node {
xunit ( // Publicar los resultados de las pruebas de PHPUnit
thresholds: [ skipped(failureThreshold: '0') , failed(failureThreshold: '0') ], xunit (
tools: [ PHPUnit(pattern: 'phpunit.xml') ] thresholds: [ skipped(failureThreshold: '0'), failed(failureThreshold: '0') ],
) 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'