Collecting report after execute tests
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
4523135041
commit
784fbfe89c
|
@ -17,13 +17,30 @@ pipeline {
|
||||||
sh 'docker exec ogcore-php php bin/console lexik:jwt:generate-keypair --overwrite'
|
sh 'docker exec ogcore-php php bin/console lexik:jwt:generate-keypair --overwrite'
|
||||||
sh 'docker exec ogcore-php php bin/console doctrine:migrations:migrate --no-interaction'
|
sh 'docker exec ogcore-php php bin/console doctrine:migrations:migrate --no-interaction'
|
||||||
sh 'docker exec ogcore-php php bin/console doctrine:fixtures:load --no-interaction'
|
sh 'docker exec ogcore-php php bin/console doctrine:fixtures:load --no-interaction'
|
||||||
sh 'docker exec ogcore-php php bin/console app:load-default-user-groups'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Tests') {
|
stage('Tests') {
|
||||||
steps {
|
steps {
|
||||||
sh 'docker compose exec php bin/phpunit'
|
sh 'docker compose exec php bin/phpunit --log-junit phpunit.xml'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
post {
|
||||||
|
always {
|
||||||
|
xunit (
|
||||||
|
testTimeMargin: '3000',
|
||||||
|
thresholdMode: 'percent',
|
||||||
|
thresholds: [
|
||||||
|
skipped: 0,
|
||||||
|
unstable: 0,
|
||||||
|
failed: 0
|
||||||
|
],
|
||||||
|
tools: [
|
||||||
|
PHPUnitJunit(
|
||||||
|
pattern: 'phpunit.xml'
|
||||||
|
)
|
||||||
|
]
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue