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