Updated Jenkinsfile

This commit is contained in:
Andrew Pitt 2020-01-06 13:50:49 -05:00
parent 0ba40cf5a6
commit 84b09177f5

23
Jenkinsfile vendored
View file

@ -1,15 +1,10 @@
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 {
label 'maven' label 'maven'
} }
@ -99,10 +94,4 @@ try {
} }
} }
} }
}
} catch (err) {
echo "in catch block"
echo "Caught: ${err}"
currentBuild.result = 'FAILURE'
throw err
} }