declerative jenkins

This commit is contained in:
seshi7 2020-05-19 16:01:02 +00:00
parent 54909b21ac
commit 0275948428

12
Jenkinsfile vendored
View file

@ -1,5 +1,15 @@
node {
pipeline {
agent {label 'MASTER'}
stages {
stage('scm'){
steps {
git 'https://github.com/seshi7/spring-petclinic.git'
}
}
stage ('Package'){
steps {
sh 'mvn package'
}
}
}
}