mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:05:50 +00:00
Updated Jenkinsfile
This commit is contained in:
parent
0ba40cf5a6
commit
84b09177f5
1 changed files with 93 additions and 104 deletions
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
|
@ -1,13 +1,8 @@
|
||||||
try {
|
|
||||||
def appName=env.APP_NAME
|
def appName=env.APP_NAME
|
||||||
def gitSourceUrl=env.GIT_SOURCE_URL
|
def gitSourceUrl=env.GIT_SOURCE_URL
|
||||||
def gitSourceRef=env.GIT_SOURCE_REF
|
def gitSourceRef=env.GIT_SOURCE_REF
|
||||||
def project=""
|
def project=""
|
||||||
def projectVersion=""
|
def projectVersion=""
|
||||||
def quayUser=env.QUAY_USER
|
|
||||||
def quayPassword=env.QUAY_PASSWORD
|
|
||||||
def ocpUser=env.OCP_USER
|
|
||||||
def ocpPassword=env.OCP_PASSWORD
|
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
agent {
|
||||||
|
@ -100,9 +95,3 @@ try {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (err) {
|
|
||||||
echo "in catch block"
|
|
||||||
echo "Caught: ${err}"
|
|
||||||
currentBuild.result = 'FAILURE'
|
|
||||||
throw err
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue