This commit is contained in:
seshi7 2020-05-27 05:28:15 +00:00
parent ef3b9e882c
commit 4f8d49bbf2

29
Jenkinsfile vendored
View file

@ -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'
}
}
}
}