mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 00:05:50 +00:00
Update Jenkinsfile
This commit is contained in:
parent
adadcfa0c0
commit
491977d251
1 changed files with 4 additions and 4 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -4,9 +4,9 @@ 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