Questions tagged [ghprb]

GitHub Pull Request Builder Plugin

This Jenkins plugin builds pull requests from GitHub and will report the results directly to the pull request via the GitHub Commit Status API.

15 questions
12
votes
1 answer

Proper configuration for Jenkins GitHub Pull Request Builder downstream

I'm trying to create two Jenkins jobs that both leverage the GitHub Pull Request Builder plugin in order to run multiple status checks, but I'm having trouble getting the status check from my downstream job to show up in my GitHub project. Here's…
André Dion
  • 21,269
  • 7
  • 56
  • 60
10
votes
5 answers

Get the title of a Pull Request from command line

I'm writing a continuous integration step that checks the titles of our pull requests for proper tags and formatting before allowing them to be merged. To do this, I need to echo the title of the Pull Request when given the PR number. Is there a way…
Danny Delott
  • 6,756
  • 3
  • 33
  • 57
7
votes
2 answers

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

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…
i_trope
  • 1,554
  • 2
  • 22
  • 42
4
votes
0 answers

Jenkins, Git Hub Pull Request Builder is 1 commit behind

I am using GHPRB plugin to see if pull requests don't break the master of the main repository. Often, after the initial pull request, the developers push more commits to the request branch, which triggers the plugin as expected. However, it turns…
Ibolit
  • 9,218
  • 7
  • 52
  • 96
3
votes
0 answers

In a Jenkins multibranch plugin cancel previous pull request builds when a new commit is pushed

Having used Jenkins freestyle project and Github pull request builder plugin I am able to Cancel Build on Update using below configuration under Build Triggers. However, I want to do the same in Multi-branch pipeline? Any pointers on how to do so?
iDev
  • 2,163
  • 10
  • 39
  • 64
2
votes
1 answer

Jenkins Pull Request Builder start build old closed pull requests

I am trying to setup Jenkins to trigger build on opening and merging pull requests. I created a pull request from branch A to B. Then closed it (PR-1). Build started and completed successfully. Next, I created a pull request from same branch A to…
Eugene Trapeznikov
  • 3,220
  • 6
  • 47
  • 74
2
votes
0 answers

GHPRB repo often gets corrupted

I have two GitHub Pull Request Builder jobs on my Jenkins server. One of them is quite lightweight, it starts for every pull request and all it does is check that the code is formatted in accordance with certain requirements. It works fine, and its…
Ibolit
  • 9,218
  • 7
  • 52
  • 96
1
vote
0 answers

How do you change the url of "continuous-integration/jenkins" in a github PR?

When we create a github PR, our builds automatically kick off. Cool. We would like to tweak the link that the "details" button points to. How do you do that? We can change the text via…
grayaii
  • 2,241
  • 7
  • 31
  • 47
1
vote
1 answer

Configuring GitHub Pull Request Builder Plugin

I have been trying to set up to GitHub Pull Request Builder Plugin for a while now. But when I submit a pull request to my repo, nothing happens when I comment a phrase like 'test this please'. Connections and repo permissions the bot user has seem…
Empty
  • 350
  • 2
  • 4
  • 22
0
votes
1 answer

Is it possible to trigger Jenkins jobs with Github Pull Request Builder without using a webhook?

I am using Jenkins to build and test the code in a github repository. I want to trigger tests automatically when a PR is made on github with particular comments / labels. I have found the plugin github pull request builder enables these sort of…
0
votes
1 answer

What kind of "actions" does the Pull request Webhook of the Github pull request builder support?

I applied Job triggering using the "Github pull request builder" plugin in "jenkins". So, I checked that the job is triggered when a new PR is created in the Github Repository, a new commit is pushed to the PR, and the PR is re-opened. However,…
0
votes
1 answer

Blue Ocean URL in commit status sent by GitHub Pull Request Builder plugin in Jenkins

I want to change the "Details" link attached to status reports in a github pull request to point to Blue Ocean view instead of regular jenkins job url. I tried using env.JOB_DISPLAY_URL, but it's not being resolved properly and as a result status…
0
votes
1 answer

How to configure a Jenkins pipelineJob via jenkins job dsl with github pull request builder?

How can I configure a jenkins pipelineJob via jenkins job dsl with the github pull request builder? I have tried: pipelineJob("Test GHPRB") { properties { pipelineTriggers { triggers { …
0
votes
1 answer

Jenkins Ghprb Build failed: ERROR: Error cloning remote repo 'origin'

The issue I have is only for a specific PR from a person's branch. The other builds were all successfully kickstarted and finished without issue. I can trigger build by commenting in opening PR, and all except this specific one... log below GitHub…
0
votes
1 answer

Jenkins github pull request builder do not trigger downstream projects

I recently set up github pull request builder on jenkins and it works well when I commented the trigger phrase on the PR. But when I tried to run multiple jobs by setting the downstream upstream relationship, I met this problem which is jenkins…
InfinityPlus1
  • 91
  • 1
  • 12