mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-18 13:35:50 +00:00
back to main node
This commit is contained in:
parent
b3a4676780
commit
c4d09bba52
1 changed files with 2 additions and 1 deletions
|
@ -5,9 +5,10 @@ echo 'Hello from Pipeline Demo'
|
|||
sh "/usr/bin/mvn -B compile"
|
||||
}
|
||||
stage 'Test'
|
||||
node('TestServer') {
|
||||
node{
|
||||
git url: 'https://github.com/nachofree/spring-petclinic.git'
|
||||
sh "/usr/bin/mvn -B verify"
|
||||
|
||||
step([$class: 'ArtifactArchiver', artifacts: '**/target/*.war', fingerprint: true])
|
||||
step([$class: 'JUnitResultArchiver', testResults: '**/target/surefire-reports/TEST-*.xml'])
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue