mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-18 13:35:50 +00:00
update
This commit is contained in:
parent
c2a07780d5
commit
acc5c43a10
1 changed files with 3 additions and 3 deletions
|
@ -1,12 +1,12 @@
|
||||||
echo 'Hello from Pipeline Demo'
|
echo 'Hello from Pipeline Demo'
|
||||||
stage 'Compile'
|
stage 'Compile'
|
||||||
node {
|
node {
|
||||||
git url: 'https://github.com/mitesh51/spring-petclinic.git'
|
git url: 'https://github.com/nachofree/spring-petclinic.git'
|
||||||
sh "/usr/bin/mvn -B compile"
|
sh "/usr/bin/mvn -B compile"
|
||||||
}
|
}
|
||||||
stage 'Test'
|
stage 'Test'
|
||||||
node('TestServer') {
|
node{
|
||||||
git url: 'https://github.com/mitesh51/spring-petclinic.git'
|
git url: 'https://github.com/nachofree/spring-petclinic.git'
|
||||||
sh "/usr/bin/mvn -B verify"
|
sh "/usr/bin/mvn -B verify"
|
||||||
|
|
||||||
step([$class: 'ArtifactArchiver', artifacts: '**/target/*.war', fingerprint: true])
|
step([$class: 'ArtifactArchiver', artifacts: '**/target/*.war', fingerprint: true])
|
||||||
|
|
Loading…
Reference in a new issue