mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-24 00:05:48 +00:00
triggers
This commit is contained in:
parent
ef3b9e882c
commit
4f8d49bbf2
1 changed files with 16 additions and 13 deletions
29
Jenkinsfile
vendored
29
Jenkinsfile
vendored
|
@ -1,15 +1,18 @@
|
|||
pipeline {
|
||||
agent {label 'MASTER'}
|
||||
stages {
|
||||
stage('scm'){
|
||||
steps {
|
||||
git 'https://github.com/seshi7/spring-petclinic.git'
|
||||
}
|
||||
}
|
||||
stage('Package'){
|
||||
steps {
|
||||
sh 'mvn package'
|
||||
}
|
||||
}
|
||||
}
|
||||
agent {label 'MASTER'}
|
||||
triggers {
|
||||
upstream(upstreamProjects: 'dummy', threshold: hudson.model.Result.SUCCESS)
|
||||
}
|
||||
stages {
|
||||
stage('source') {
|
||||
steps {
|
||||
git 'https://github.com/seshi7/spring-petclinic.git'
|
||||
}
|
||||
}
|
||||
stage('Package') {
|
||||
steps {
|
||||
sh 'mvn package'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue