Test to copy report back to jenkins
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
testing/ogcore-api/pipeline/head There was a failure building this commit
Details
parent
77ad48f717
commit
8b8c57f8a4
|
@ -46,7 +46,7 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
// Install dependencies
|
// Install dependencies
|
||||||
sh """
|
sh """
|
||||||
rm -rf ./report && mkdir -p ./report
|
docker compose exec php mkdir -p /report
|
||||||
docker compose exec php composer install
|
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 lexik:jwt:generate-keypair --overwrite
|
||||||
docker compose exec php php bin/console doctrine:migrations:migrate --no-interaction
|
docker compose exec php php bin/console doctrine:migrations:migrate --no-interaction
|
||||||
|
@ -76,6 +76,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
|
sh "docker compose -f ${DOCKER_COMPOSE_FILE} cp php:/report/phpunit.xml phpunit.xml"
|
||||||
// Publish JUnit test results
|
// Publish JUnit test results
|
||||||
xunit (
|
xunit (
|
||||||
thresholds: [ skipped(failureThreshold: '0') , failed(failureThreshold: '0') ],
|
thresholds: [ skipped(failureThreshold: '0') , failed(failureThreshold: '0') ],
|
||||||
|
|
Loading…
Reference in New Issue