Change-Id: I3de79709de8ea26eac0afd25e5b28bb3db5c6c1f
Signed-off-by: econwar <conor.ward@est.tech>
git reset HEAD~1
git checkout -b delivery_branch origin/master
-echo '[remote "upstream"]' >> .git/config
-echo " url = ssh://$username@gerrit.onap.org:29418/$project.git" >> .git/config
-echo " fetch = +refs/heads/*:refs/remotes/upstream/*" >> .git/config
+echo '[remote "upstream"]' >> $WORKSPACE/.git/config
+echo " url = ssh://$username@gerrit.onap.org:29418/$project.git" >> $WORKSPACE/.git/config
+echo " fetch = +refs/heads/*:refs/remotes/upstream/*" >> $WORKSPACE/.git/config
git commit -as -m "$message"