Skip to content

Commit

Permalink
Alter the url in query for abandoning open commits
Browse files Browse the repository at this point in the history
- jenkins need not be passed as username as now the user running this inside docker is the host user itself.
  • Loading branch information
iathmika committed Apr 21, 2022
1 parent 713d5db commit d3af58a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/docker-execute
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,9 @@ echo "UID: $(id -u)"
echo "GID: $(id -g)"
whoami;
eval $(ssh-agent -s);
for c in $(ssh -p 29418 -o "StrictHostKeyChecking no" jenkins@gerrit.helpshift.com gerrit query --current-patch-set project:${REPO_NAME} branch:feature/dependabot | grep revision | tr -s " " | cut -d " " -f 3); \
for c in $(ssh -p 29418 gerrit.helpshift.com gerrit query --current-patch-set project:${REPO_NAME} branch:feature/dependabot | grep revision | tr -s " " | cut -d " " -f 3); \
do ssh -p 29418 jenkins@gerrit.helpshift.com gerrit review $c --abandon; \
do ssh -p 29418 gerrit.helpshift.com gerrit review $c --abandon; \
done;
bin/dry-run.rb --provider gerrit $PACKAGE_NAME $REPO_NAME'
Expand Down

0 comments on commit d3af58a

Please sign in to comment.