jenkins file

This commit is contained in:
vi-source 2023-12-06 17:56:11 +05:30
parent dbe17fdaec
commit 44769f08ca

View file

@ -1,3 +1,46 @@
pipeline{ 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('validate') {
steps {
sh 'mvn validate'
}
}
}
} }