I have the next testing stage in my .gitlab-ci.yml
file:
test:
stage: test
only:
- tags
- develop
- schedules
script:
- mvn -f my-project/pom.xml clean integration-test -Dspring.profiles.active=$SPRING_PROFILE
artifacts:
reports:
junit:
- my-project/target/surefire-reports/TEST-*.xml
Is there a way to run those tests with two different profiles (app_01 and app_02) one after another or in parallel without duplicating the stage?
Aucun commentaire:
Enregistrer un commentaire