Code Review
/
infra
/
cicd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add healthdist testcase
[infra/cicd.git]
/
jjb
/
global
/
push-upstream-jobs.sh
diff --git
a/jjb/global/push-upstream-jobs.sh
b/jjb/global/push-upstream-jobs.sh
index a1eeace3c22aef09b0d082d86d58ca20b1292c1a..49af36e76eeb92801afa401140a22f080e236d9b 100755
(executable)
--- a/
jjb/global/push-upstream-jobs.sh
+++ b/
jjb/global/push-upstream-jobs.sh
@@
-46,7
+46,7
@@
git config user.name $username
echo "Checking out branch on master with new changes"
git reset HEAD~1 --soft
echo "Checking out branch on master with new changes"
git reset HEAD~1 --soft
-git checkout -b delivery_branch origin/
master
+git checkout -b delivery_branch origin/
$BRANCH
git config --get remote.upstream.url
retVal=$?
git config --get remote.upstream.url
retVal=$?
@@
-61,7
+61,7
@@
fi
echo "Committing changes and pushing upstream"
git commit -as -m "$message"
echo "Committing changes and pushing upstream"
git commit -as -m "$message"
-git push upstream HEAD:refs/for/
master
+git push upstream HEAD:refs/for/
$BRANCH
retVal1=$?
if [[ $retVal1 -eq 0 ]]
retVal1=$?
if [[ $retVal1 -eq 0 ]]