Skip to content

Commit

Permalink
Added branch name to PR job
Browse files Browse the repository at this point in the history
  • Loading branch information
Voffkaa committed Feb 1, 2016
1 parent 98353ee commit 61e742f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/webhooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ function pullRequestJob(pr) {
trigger: trigger,
deploy: false,
ref: {
fetch: 'refs/pull/' + pr.number + '/merge'
fetch: 'refs/pull/' + pr.number + '/merge',
branch: pr.base.ref
},
plugin_data: {
github: {
Expand Down

1 comment on commit 61e742f

@Voffkaa
Copy link
Contributor Author

@Voffkaa Voffkaa commented on 61e742f Feb 1, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also thanks to @streltsoff

Please sign in to comment.