ghprb

Jenkins GitHub pull request builder - get branch name for execute shell

别说谁变了你拦得住时间么 提交于 2020-05-13 06:27:59
问题 I am using Jenkins GitHub pull request builder plugin for running my unit tests when a pull request is made vis a vis a web hook. For the build step, I need to know the name of the branch that is being merged in (e.g. I need develop branch if merging that into master branch). Is there a way to get access to this in the Jenkins execute shell? Thanks, 回答1: Your link has the answer: The plugin makes some very useful environment variables available. ghprbActualCommit ghprbActualCommitAuthor

Jenkins GitHub pull request builder - get branch name for execute shell

狂风中的少年 提交于 2020-05-13 06:27:30
问题 I am using Jenkins GitHub pull request builder plugin for running my unit tests when a pull request is made vis a vis a web hook. For the build step, I need to know the name of the branch that is being merged in (e.g. I need develop branch if merging that into master branch). Is there a way to get access to this in the Jenkins execute shell? Thanks, 回答1: Your link has the answer: The plugin makes some very useful environment variables available. ghprbActualCommit ghprbActualCommitAuthor

GHPRB plugin in Jenkins unable to trigger build

拈花ヽ惹草 提交于 2019-12-02 22:07:27
问题 I'm using GitHub Pull request builder plugin (version 1.42.0) to trigger my PRs. It was working fine for a while and it suddenly stopped working. I checked the Jenkins logs and I found this error: Nov 20, 2019 3:29:00 PM WARNING hudson.triggers.Trigger checkTriggers org.jenkinsci.plugins.ghprb.GhprbTrigger.run() failed for hudson.model.FreeStyleProject@7d1c3713[test-job] java.lang.StackOverflowError at java.base/java.util.Collections$UnmodifiableCollection$1.<init>(Collections.java:1042) at