Update Jenkinsfile

This commit is contained in:
MihailInternul 2024-03-07 15:50:57 +02:00 committed by GitHub
parent 6f2f6a6ff4
commit d5b6cb69b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

3
Jenkinsfile vendored
View file

@ -11,7 +11,6 @@ pipeline {
stage('Checkstyle') { stage('Checkstyle') {
steps { steps {
script { script {
// Use Maven for Checkstyle
sh "${MAVEN_HOME}/bin/mvn checkstyle:checkstyle" sh "${MAVEN_HOME}/bin/mvn checkstyle:checkstyle"
archiveArtifacts 'target/checkstyle-result.xml' archiveArtifacts 'target/checkstyle-result.xml'
} }
@ -21,7 +20,6 @@ pipeline {
stage('Test') { stage('Test') {
steps { steps {
script { script {
// Use Maven for testing
sh "${MAVEN_HOME}/bin/mvn test" sh "${MAVEN_HOME}/bin/mvn test"
} }
} }
@ -30,7 +28,6 @@ pipeline {
stage('Build') { stage('Build') {
steps { steps {
script { script {
// Use Maven for building without tests
sh "${MAVEN_HOME}/bin/mvn package -DskipTests" sh "${MAVEN_HOME}/bin/mvn package -DskipTests"
} }
} }