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 { pipeline {
agent {label 'MASTER'} agent {label 'MASTER'}
stages { triggers {
stage('scm'){ upstream(upstreamProjects: 'dummy', threshold: hudson.model.Result.SUCCESS)
steps { }
git 'https://github.com/seshi7/spring-petclinic.git' stages {
} stage('source') {
} steps {
stage('Package'){ git 'https://github.com/seshi7/spring-petclinic.git'
steps { }
sh 'mvn package' }
} stage('Package') {
} steps {
} sh 'mvn package'
}
}
}
} }