fix: junit report
gitea/salix-front/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2025-02-27 10:29:33 +01:00
parent 2ebe86fd2e
commit 84aa5fb401
2 changed files with 2 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -125,7 +125,7 @@ pipeline {
always { always {
sh "docker-compose ${env.COMPOSE_PARAMS} down -v" sh "docker-compose ${env.COMPOSE_PARAMS} down -v"
junit( junit(
testResults: 'junit/e2e.xml', testResults: 'junit/e2e-*.xml',
allowEmptyResults: true allowEmptyResults: true
) )
} }

View File

@ -6,7 +6,7 @@ if (process.env.CI) {
urlHost = 'front'; urlHost = 'front';
reporter = 'junit'; reporter = 'junit';
reporterOptions = { reporterOptions = {
mochaFile: 'junit/e2e.xml', mochaFile: 'junit/e2e-[hash].xml',
toConsole: false, toConsole: false,
}; };
} else { } else {