mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 07:45:49 +00:00
Update Jenkinsfile
This commit is contained in:
parent
57f33c1dc9
commit
8d7ecdd549
1 changed files with 1 additions and 0 deletions
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
|
@ -4,6 +4,7 @@ pipeline {
|
||||||
stage('Checkstyle') {
|
stage('Checkstyle') {
|
||||||
steps {
|
steps {
|
||||||
sh 'export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64'
|
sh 'export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64'
|
||||||
|
sh 'echo $JAVA_HOME'
|
||||||
sh 'mvn checkstyle:checkstyle'
|
sh 'mvn checkstyle:checkstyle'
|
||||||
archiveArtifacts artifacts: 'checkstyle-result.html', onlyIfSuccessful: true
|
archiveArtifacts artifacts: 'checkstyle-result.html', onlyIfSuccessful: true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue