Change dir to the script location 43/27843/1
authorDimitri Mazmanov <dimitri.mazmanov@ericsson.com>
Wed, 1 Feb 2017 11:17:03 +0000 (12:17 +0100)
committerDimitri Mazmanov <dimitri.mazmanov@ericsson.com>
Wed, 1 Feb 2017 11:17:03 +0000 (12:17 +0100)
Since deploy.sh executes another script located in the same directory,
we need to change to that directory.

Change-Id: Ic8f98c40cdbfbaca50dffac7519089ec4a75a985
Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
jjb/multisite/multisite-daily-jobs.yml

index f2b2871..a5eee38 100644 (file)
             #!/bin/bash
 
             echo "This is where we install kingbird"
-            $WORKSPACE/tools/kingbird/deploy.sh
+            cd $WORKSPACE/tools/kingbird
+            ./deploy.sh
 ########################
 # publisher macros
 ########################