Xunit back to node

pull/12/head
Nicolas Arenas 2024-10-23 00:40:08 +02:00
parent 98f15df11d
commit 33025e84ab
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'