Test to copy report back to jenkins
testing/ogcore-api/pipeline/head There was a failure building this commit Details

pull/12/head
Nicolas Arenas 2024-10-23 08:47:20 +02:00
parent 77ad48f717
commit 8b8c57f8a4
1 changed files with 2 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -46,7 +46,7 @@ pipeline {
steps {
// Install dependencies
sh """
rm -rf ./report && mkdir -p ./report
docker compose exec php mkdir -p /report
docker compose exec php composer install
docker compose exec php php bin/console lexik:jwt:generate-keypair --overwrite
docker compose exec php php bin/console doctrine:migrations:migrate --no-interaction
@ -76,6 +76,7 @@ pipeline {
}
post {
always {
sh "docker compose -f ${DOCKER_COMPOSE_FILE} cp php:/report/phpunit.xml phpunit.xml"
// Publish JUnit test results
xunit (
thresholds: [ skipped(failureThreshold: '0') , failed(failureThreshold: '0') ],