mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:05:50 +00:00
Update Jenkinsfile
This commit is contained in:
parent
89bb0f1514
commit
74b757e7ad
1 changed files with 9 additions and 0 deletions
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
|
@ -17,6 +17,15 @@ pipeline{
|
||||||
sh './mvnw package'
|
sh './mvnw package'
|
||||||
sh './mvnw install'
|
sh './mvnw install'
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
stage('master-branch-stuff'){
|
||||||
|
agent any
|
||||||
|
when{
|
||||||
|
branch 'master'
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
sh './mvnw deploy'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue