Updated Jenkinsfile

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

11
Jenkinsfile vendored
View file

@ -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
}