mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-24 00:05:48 +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 :
|
// START :
|
||||||
// Definition of Jenkins job configuration
|
// Definition of Jenkins job configuration
|
||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
|
options {
|
||||||
|
skipStagesAfterUnstable()
|
||||||
|
}
|
||||||
environment {
|
environment {
|
||||||
artifactory_url="https://petclinic.jfrog.io/artifactory"
|
artifactory_url="https://petclinic.jfrog.io/artifactory"
|
||||||
artifactory_repo="spring-petclinic"
|
artifactory_repo="spring-petclinic"
|
||||||
|
@ -18,6 +21,11 @@ pipeline {
|
||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
// START : Stages
|
// START : Stages
|
||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
|
stage('build package') {
|
||||||
|
steps {
|
||||||
|
sh 'mvn validate compile test'
|
||||||
|
}
|
||||||
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('build image') {
|
stage('build image') {
|
||||||
steps {
|
steps {
|
||||||
|
|
Loading…
Reference in a new issue