Merge pull request #4 from MihailInternul/mr_repo

Update Jenkinsfile
This commit is contained in:
MihailInternul 2024-03-07 16:04:24 +02:00 committed by GitHub
commit b6c1e3cee8
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') {
steps {
script {
// Use Maven for Checkstyle
sh "${MAVEN_HOME}/bin/mvn checkstyle:checkstyle"
archiveArtifacts 'target/checkstyle-result.xml'
}
@ -21,7 +20,6 @@ pipeline {
stage('Test') {
steps {
script {
// Use Maven for testing
sh "${MAVEN_HOME}/bin/mvn test"
}
}
@ -30,7 +28,6 @@ pipeline {
stage('Build') {
steps {
script {
// Use Maven for building without tests
sh "${MAVEN_HOME}/bin/mvn package -DskipTests"
}
}