mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 00:05:50 +00:00
Jenkinsfile
This commit is contained in:
parent
8aff9e977e
commit
3f928b677f
1 changed files with 8 additions and 2 deletions
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
|
@ -17,13 +17,19 @@ pipeline {
|
||||||
./mvnw clean package -DskipTests -T 2
|
./mvnw clean package -DskipTests -T 2
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
|
|
||||||
docker.build("loxon/petclinic:2.0.0").push()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stage('Build the image') {
|
||||||
|
steps {
|
||||||
|
script {
|
||||||
|
docker.build("loxon/petclinic:2.0.0").push()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue