mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 14:25:50 +00:00
build.groovy fixed
This commit is contained in:
parent
d1ec84da93
commit
db69b47b49
1 changed files with 4 additions and 4 deletions
|
@ -1,8 +1,8 @@
|
|||
pipeline {
|
||||
agent any
|
||||
triggers {
|
||||
pollSCM('H/5 * * * *') // Watches the `dev` branch
|
||||
}
|
||||
// triggers {
|
||||
// pollSCM('H/5 * * * *') // Watches the `dev` branch
|
||||
// }
|
||||
environment {
|
||||
DOCKERHUB_CREDENTIALS = credentials('nalexxgd-docker-pass')
|
||||
DOCKERHUB_USERNAME = "nalexxgd"
|
||||
|
@ -13,7 +13,7 @@ pipeline {
|
|||
stages {
|
||||
stage('Checkout Code') {
|
||||
steps {
|
||||
git url: 'https://github.com/spring-projects/spring-petclinic.git', branch: 'main'
|
||||
git url: 'https://github.com/Nalexx06/spring-petclinic.git', branch: 'dev'
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue