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
23
Jenkinsfile
vendored
23
Jenkinsfile
vendored
|
@ -1,15 +1,10 @@
|
|||
try {
|
||||
def appName=env.APP_NAME
|
||||
def gitSourceUrl=env.GIT_SOURCE_URL
|
||||
def gitSourceRef=env.GIT_SOURCE_REF
|
||||
def project=""
|
||||
def projectVersion=""
|
||||
def quayUser=env.QUAY_USER
|
||||
def quayPassword=env.QUAY_PASSWORD
|
||||
def ocpUser=env.OCP_USER
|
||||
def ocpPassword=env.OCP_PASSWORD
|
||||
def appName=env.APP_NAME
|
||||
def gitSourceUrl=env.GIT_SOURCE_URL
|
||||
def gitSourceRef=env.GIT_SOURCE_REF
|
||||
def project=""
|
||||
def projectVersion=""
|
||||
|
||||
pipeline {
|
||||
pipeline {
|
||||
agent {
|
||||
label 'maven'
|
||||
}
|
||||
|
@ -99,10 +94,4 @@ try {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (err) {
|
||||
echo "in catch block"
|
||||
echo "Caught: ${err}"
|
||||
currentBuild.result = 'FAILURE'
|
||||
throw err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue