Regarding a pipeline of CI/CD when you want to run all the junit tests from the pipeline you should build first the code and then run the tests or you can first run the tests and if they pass run the build ?
Steps:
- Code
- Push
- Test ?
- Build ?
- Deploy
Is this the order ?
Consider a classic environment with Maven where you run mvnw test
to run the tests.
I am asking this because for example in this video, there is first the build step and then the test step
Aucun commentaire:
Enregistrer un commentaire