This commit is contained in:
vi-source 2023-12-06 12:38:58 +00:00 committed by GitHub
commit 96ccd7ef8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

46
jenkinsfile Normal file
View file

@ -0,0 +1,46 @@
pipeline {
agent any
options {
timeout(time: 10, unit: 'MINUTES')
}
triggers {
pollSCM('* * * * *')
}
stages {
stage('git') {
steps {
git url: 'https://github.com/vi-source/spring-petclinic-jenkins-free.git',
branch: 'dev'
}
}
stage('build') {
steps {
sh 'mvn --version'
}
}
}
}