mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 15:55:49 +00:00
declerative jenkins
This commit is contained in:
parent
54909b21ac
commit
0275948428
1 changed files with 15 additions and 5 deletions
18
Jenkinsfile
vendored
18
Jenkinsfile
vendored
|
@ -1,5 +1,15 @@
|
|||
node {
|
||||
stage('scm'){
|
||||
git 'https://github.com/seshi7/spring-petclinic.git'
|
||||
}
|
||||
pipeline {
|
||||
agent {label 'MASTER'}
|
||||
stages {
|
||||
stage('scm'){
|
||||
steps {
|
||||
git 'https://github.com/seshi7/spring-petclinic.git'
|
||||
}
|
||||
}
|
||||
stage ('Package'){
|
||||
steps {
|
||||
sh 'mvn package'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue