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
adadcfa0c0
commit
491977d251
1 changed files with 4 additions and 4 deletions
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
|
@ -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 .'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue