Update Jenkinsfile

This commit is contained in:
surtexx 2023-11-13 15:28:08 +02:00 committed by GitHub
parent adadcfa0c0
commit 491977d251
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

8
Jenkinsfile vendored
View file

@ -4,11 +4,11 @@ pipeline{
stage ("build") { stage ("build") {
steps { steps {
echo "Running build automation..." echo "Running build automation..."
sh 'mvn checkstyle:checkstyle' sh './mvnw checkstyle:checkstyle'
sh 'mvn verify' sh './mvnw verify'
sh 'mvn clean package' sh './mvnw clean package'
sh 'docker build -t mr/spring-petclinic:${GIT_COMMIT:0:7} -f Dockerfile2 .' sh 'docker build -t mr/spring-petclinic:${GIT_COMMIT:0:7} -f Dockerfile2 .'
} }
} }
} }
} }