Commit 531fb673 authored by carlosribas's avatar carlosribas
Browse files

Test to avoid Jenkins error

parent 0505202e
......@@ -82,7 +82,7 @@ pipeline {
break
}
if (${CLUSTER} == 'HX') {
if ("${CLUSTER}" == "HX") {
withCredentials([file(credentialsId: 'HX-WP-Config', variable: 'config')]) {
sh """
# update repository
......@@ -109,7 +109,7 @@ pipeline {
curl -X POST -H 'Content-type: application/json' --data '{"text":"Deployed ${params.BRANCH} in ${params.WEB} - ${params.CLUSTER} cluster. This may take a few more seconds."}' $SLACK
"""
}
} else if (${CLUSTER} == 'HH') {
} else if ("${env.CLUSTER}" == "HH") {
withCredentials([file(credentialsId: 'HH-WP-Config', variable: 'config')]) {
sh """
# update repository
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment