mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-24 00:35:49 +00:00
fixed error
This commit is contained in:
parent
d171f80a87
commit
c7bdd67dbd
1 changed files with 8 additions and 5 deletions
13
jenkinsfile
13
jenkinsfile
|
@ -1,13 +1,11 @@
|
|||
pipeline {
|
||||
agent { label 'JDK-11' }
|
||||
stages {
|
||||
triggers {
|
||||
pollSCM('* * * * *')
|
||||
}
|
||||
parameters {
|
||||
triggers { pollSCM('* * * * *') }
|
||||
parameters {
|
||||
string(name: 'MAVEN_GOAL', defaultValue: 'mvn package', description: 'enter maven goal')
|
||||
choice(name: 'BRANCH', choices: ['master', 'main', 'three'], description: 'select one')
|
||||
}
|
||||
stages {
|
||||
stage('clone') {
|
||||
steps {
|
||||
git url: 'https://github.com/GUDAPATIVENKATESH/spring-petclinic.git',
|
||||
|
@ -19,5 +17,10 @@ pipeline {
|
|||
sh '${params.MAVEN_GOAL}'
|
||||
}
|
||||
}
|
||||
stage('archive results') {
|
||||
steps {
|
||||
junit '**/surefire-reports/*.xml'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue