Skip to content

Commit c1c2ad3

Browse files
authored
jenkins: fix small bugs in trigger-jenkins-build
PR-URL: #174 Reviewed-By: Rich Trott <[email protected]>
1 parent 64c2b20 commit c1c2ad3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/trigger-jenkins-build.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ function buildParametersForRepo (options, repo) {
5656
{
5757
name: 'PR_ID',
5858
value: options.number
59+
},
60+
{
61+
name: 'REBASE_ONTO',
62+
value: '<pr base branch>'
5963
}
6064
]
6165
}
@@ -172,7 +176,7 @@ module.exports = (app) => {
172176
return logger.debug(`Ignoring comment to me by @${pullRequestAuthor} because they are not a repo collaborator`)
173177
}
174178

175-
triggerBuild(options, replyToCollabWithBuildStarted)
179+
triggerBuild(options, logBuildStarted)
176180
}
177181

178182
githubClient.repos.checkCollaborator({ owner, repo, username: pullRequestAuthor }, triggerBuildWhenCollaborator)

0 commit comments

Comments
 (0)