Update Jenkins Job Builder to version 2.9.1
[infra/cicd.git] / jjb / global / rebase-jobs.sh
index b451f5fc94c3039c99157566687f1598df3d7097..b2f77378b504355daa6cb975ba82b3e7e87c1b6d 100755 (executable)
@@ -4,16 +4,17 @@ set -o nounset
 set -o pipefail
 
 cd $WORKSPACE
-git checkout $UPSTREAM_BRANCH -q
+echo "Checking out $BRANCH"
+git checkout $BRANCH -q
 git pull -q
 echo "Commit is"
 echo "-------------------------------------------"
 git show -s
 echo "-------------------------------------------"
-echo "Adding new remote for sync"
+echo "Adding new remote $NORDIX_REMOTE for sync"
 git remote add nordix $NORDIX_REMOTE
 echo "-------------------------------------------"
 git remote -v
 echo "-------------------------------------------"
-echo "Pushing changes to Nordix BRANCH"
+echo "Pushing changes to Nordix branch $BRANCH"
 git push nordix $BRANCH