mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 20:35:49 +00:00
modify checkstyle to run on pull request
This commit is contained in:
parent
e0551b445b
commit
873d21dd7b
1 changed files with 3 additions and 0 deletions
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -3,6 +3,9 @@ pipeline {
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Checkstyle') {
|
stage('Checkstyle') {
|
||||||
|
when {
|
||||||
|
changeRequest()
|
||||||
|
}
|
||||||
agent {
|
agent {
|
||||||
docker { image 'maven:3.8.5-openjdk-17' }
|
docker { image 'maven:3.8.5-openjdk-17' }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue