mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:25:49 +00:00
Add test for master branch
This commit is contained in:
parent
8310d2b557
commit
4548820897
1 changed files with 14 additions and 11 deletions
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
|
@ -1,3 +1,4 @@
|
||||||
|
#!/usr/bin/env groovy
|
||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
stages {
|
stages {
|
||||||
|
@ -11,18 +12,20 @@ pipeline {
|
||||||
sh './mvnw test'
|
sh './mvnw test'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Package') {
|
stage('Package') {
|
||||||
steps {
|
steps {
|
||||||
sh './mvnw package'
|
sh './mvnw package'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
|
if( env.BRANCH_NAME == 'master' ) {
|
||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
steps {
|
steps {
|
||||||
sh './mvnw deploy'
|
sh './mvnw deploy'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
|
|
Loading…
Reference in a new issue