build package from jenkins

This commit is contained in:
Maharshi Patel 2021-01-10 13:56:22 -08:00
parent 4905e68ed4
commit d6eb6e7770

8
Jenkinsfile vendored
View file

@ -7,6 +7,9 @@ pipeline {
// START :
// Definition of Jenkins job configuration
/////////////////////////////////////////////////////////////////////
options {
skipStagesAfterUnstable()
}
environment {
artifactory_url="https://petclinic.jfrog.io/artifactory"
artifactory_repo="spring-petclinic"
@ -18,6 +21,11 @@ pipeline {
/////////////////////////////////////////////////////////////////////
// START : Stages
/////////////////////////////////////////////////////////////////////
stage('build package') {
steps {
sh 'mvn validate compile test'
}
}
stages {
stage('build image') {
steps {