Jenkins - GradedJestRisk/cicd-training GitHub Wiki
Where to find:
- home: ~/jenkins
- workspace: workspace/
- project definition: jobs//config.xml
Overview:
- define a step
stage <STEP_LABEL>
- checkout-code
git <REPO_URL>
- launch command in a shell
sh <COMMAND>
node{ stage 'check-out from GitHub' git 'https://github.com/GradedJestRisk/spring-petclinic.git' stage 'compile' sh 'mvn clean package' }