From 33025e84ab9640aa6db293252cdecbd8e9a924fe Mon Sep 17 00:00:00 2001 From: Nicolas Arenas Date: Wed, 23 Oct 2024 00:40:08 +0200 Subject: [PATCH] Xunit back to node --- Jenkinsfile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5e7e046..827eea8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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'