mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-24 00:35:49 +00:00
added daybuild for jenkins in declarative pipeline
This commit is contained in:
parent
609c3658d4
commit
15634cab1a
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
agent{label 'jdk_17'}
|
agent{label 'JDK_17'}
|
||||||
options {
|
options {
|
||||||
timeout(time: 30, unit: 'MINUTES')
|
timeout(time: 30, unit: 'MINUTES')
|
||||||
}
|
}
|
||||||
|
@ -20,11 +20,11 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
sh script: 'mvn package'
|
sh script: 'mvn package'
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
stage('reporting') {
|
stage('reporting') {
|
||||||
steps {
|
steps {
|
||||||
junits: '**/target/surefire-reports/TEST-*.xml'
|
junit testResults: '**/target/surefire-reports/TEST-*.xml'
|
||||||
archiveArtifacts artifacts: '**/target/spring-petclinic-*.jar'
|
archiveArtifacts artifacts: '**/target/spring-petclinic-*.jar'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue