mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:25:49 +00:00
build package from jenkins
This commit is contained in:
parent
4905e68ed4
commit
d6eb6e7770
1 changed files with 8 additions and 0 deletions
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue