This commit is contained in:
dhille98 2023-11-29 14:43:10 +00:00 committed by GitHub
commit c462451786
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

46
jenkins Normal file
View file

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