Fixes home directory differences between Jenkins nodes
[releng.git] / jjb / genesis / genesis-foreman.yml
index e9a5224..5c6be56 100644 (file)
             set -o pipefail
 
             # check to see if ucs login info file exists
-            if [ -e /home/jenkins-ci/.ssh/ucs_creds ];then
-              source /home/jenkins-ci/.ssh/ucs_creds
+            if [ -e ~/.ssh/ucs_creds ];then
+              source ~/.ssh/ucs_creds
             else
               echo "Unable to find UCS credentials for LF lab reconfiguration...Exiting"
               exit 1