mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 23:05:49 +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 {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
triggers {
|
// triggers {
|
||||||
pollSCM('H/5 * * * *') // Watches the `dev` branch
|
// pollSCM('H/5 * * * *') // Watches the `dev` branch
|
||||||
}
|
// }
|
||||||
environment {
|
environment {
|
||||||
DOCKERHUB_CREDENTIALS = credentials('nalexxgd-docker-pass')
|
DOCKERHUB_CREDENTIALS = credentials('nalexxgd-docker-pass')
|
||||||
DOCKERHUB_USERNAME = "nalexxgd"
|
DOCKERHUB_USERNAME = "nalexxgd"
|
||||||
|
@ -13,7 +13,7 @@ pipeline {
|
||||||
stages {
|
stages {
|
||||||
stage('Checkout Code') {
|
stage('Checkout Code') {
|
||||||
steps {
|
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