Skip to content
This repository was archived by the owner on Jun 9, 2021. It is now read-only.
This repository was archived by the owner on Jun 9, 2021. It is now read-only.

Button trigger build for Pull requests. #301

@sashanas

Description

@sashanas

Hi Tomas! Thank you again for the plugin. It's really wonderful! I had a quick question and I am not sure if what I am trying to do with the plugin is possible. I can easily set up a button and the build associated with it, which works just fine. I was wondering if there is any way to configure a button so I can build only PR# from which the button is triggered. As an example: let's say I open PR 123 and I select a trigger PR build, it would only trigger build for PR 123 in jenkins. Right now my button is only targetting static build of the branch and URL of the trigger doesn't change. I was wondering if there is any way to configure for the job URL to take value from the PR that triggered it?

Thanks in advance for all your help.

Current button setup:

screen shot 2018-09-10 at 3 50 33 pm
screen shot 2018-09-10 at 3 49 24 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions