Skip to content

Commit

Permalink
Add $SSH_KEY
Browse files Browse the repository at this point in the history
- $SSH_KEY is set from jenkins env variables.
  • Loading branch information
Athmika-HS committed Mar 27, 2022
1 parent 214b52e commit d55998f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/docker-execute
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ ls -ald /home/dependabot/dependabot-core/.ssh;
whoami;
eval $(ssh-agent -s);
ls -la /home/dependabot/dependabot-core/.ssh;
ssh-add $SSH_KEY;
ssh-add /home/dependabot/dependabot-core/.ssh/$(echo $(cat /home/dependabot/dependabot-core/.ssh/config | grep IdentityFile) | cut -d " " -f 2 | 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); \
Expand Down

0 comments on commit d55998f

Please sign in to comment.