mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 07:15: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 {
|
||||
agent any
|
||||
stages {
|
||||
|
@ -11,18 +12,20 @@ pipeline {
|
|||
sh './mvnw test'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Package') {
|
||||
steps {
|
||||
sh './mvnw package'
|
||||
}
|
||||
}
|
||||
/*
|
||||
|
||||
if( env.BRANCH_NAME == 'master' ) {
|
||||
stage('Deploy') {
|
||||
steps {
|
||||
sh './mvnw deploy'
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
post {
|
||||
always {
|
||||
|
|
Loading…
Reference in a new issue