Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

Commit

Permalink
Look under a different key for Jenkins' latest successful build. This…
Browse files Browse the repository at this point in the history
… should fix deploys.

Its behavior changed when I deleted the es branch from the config, apparently.
  • Loading branch information
erikrose committed Aug 3, 2015
1 parent 94f3b24 commit 210d37f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dxr/cli/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def _latest_successful_build(self):
verify=True)
try:
return (response.json()['buildsByBranchName']
['origin/%s' % self.branch]
['refs/remotes/origin/%s' % self.branch]
['revision']
['SHA1'])
except ValueError:
Expand Down

0 comments on commit 210d37f

Please sign in to comment.