Fixes home directory differences between Jenkins nodes 59/1059/1
authorTim Rozet <trozet@redhat.com>
Thu, 23 Jul 2015 19:20:45 +0000 (15:20 -0400)
committerTim Rozet <trozet@redhat.com>
Thu, 23 Jul 2015 19:20:45 +0000 (15:20 -0400)
JIRA: OCTO-109

Change-Id: I31ac16b3f33b98d09614f53872c7a9c8b68bf4d2
Signed-off-by: Tim Rozet <trozet@redhat.com>
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