Jenkinsfile example and probe project to run in Jenkins.
To get faster feedback, why is failing, in order:
- code doesn't compile
- test code doesn't compile
- unit tests are failing
- integration tests are failing
- mutation tests are failing
- qualiti measurements are failing
- e2e tests are failing
- acceptance tests are failing
Master should go to live. No any other branch should go to live. Mostly conditional switch should be switched on.
Release branch can go dev, test, prelive by conditional swirches.
Develpoment branch is optional. Mostly Jenkisnfile is planned for trunk based development scenarios.
Hotfix branch is not supported, because its can be and should be handled as release branch.
Usually Jenkins preferred/default plugins setup.
- Email Extension Plugin
- Mailer Plugin
- System Admin e-mail address
- Extended E-mail Notification settings
- E-mail Notification settings
- Jenkins URL
- Environment variables and other variables usage
Note that " and ' have difference
ABC = 'DEF'
GHI = "$ABC"