Update Jenkinsfile

This commit is contained in:
Mihai Georgescu 2023-11-28 10:26:17 +02:00 committed by GitHub
parent 389972c977
commit e0af8e7a7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
Jenkinsfile vendored
View file

@ -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
} }
} }