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 {
always {
// Publish JUnit test results
xunit (
thresholds: [ skipped(failureThreshold: '0') , failed(failureThreshold: '0') ],
tools: [ PHPUnit(pattern: 'phpunit.xml') ]
)
node {
// Publicar los resultados de las pruebas de PHPUnit
xunit (
thresholds: [ skipped(failureThreshold: '0'), failed(failureThreshold: '0') ],
tools: [ PHPUnit(pattern: 'phpunit.xml') ]
)
}
// Remove containers
sh 'docker compose -f ${DOCKER_COMPOSE_FILE} down'
sh 'docker compose -f ${DOCKER_COMPOSE_FILE} rm -f'