declerative jenkins

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

20
Jenkinsfile vendored
View file

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