This commit is contained in:
dhille98 2023-11-30 14:31:15 +00:00 committed by GitHub
commit 4fb83b1449
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

23
Jenkins Normal file
View file

@ -0,0 +1,23 @@
pipeline {
agent { label 'MAVEN' }
options {
timeout(time: 30, unit: 'MINUTES')
}
triggers {
pollSCM('* * * * *')
}
stages {
stage('git') {
steps {
git url: 'https://github.com/dhille98/spring-petclinic.git' ,
branch: 'dev'
}
}
stage('build') {
steps {
sh 'mvn clean package'
}
}
}
}