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