Commit 72193f80 authored by carlosribas's avatar carlosribas
Browse files

Check used env

parent 564bcc67
......@@ -85,6 +85,8 @@ pipeline {
if ("${CLUSTER}" == "HX") {
withCredentials([file(credentialsId: 'HX-WP-Config', variable: 'config')]) {
sh """
echo 'Updating HX'
echo ${config}
# update repository
git reset --hard
git fetch --all
......@@ -112,6 +114,8 @@ pipeline {
} else if ("${CLUSTER}" == "HH") {
withCredentials([file(credentialsId: 'HH-WP-Config', variable: 'config')]) {
sh """
echo 'Updating HH'
echo ${config}
# update repository
git reset --hard
git fetch --all
......
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