[JIRA] (JENKINS-61083) Only trigger subprojects of Branch Source Plugins

2 views
Skip to first unread message

stephan.valentan@sonible.com (JIRA)

unread,
Feb 13, 2020, 11:08:04 AM2/13/20
to jenkinsc...@googlegroups.com
Stephan Vallant created an issue
 
Jenkins / Improvement JENKINS-61083
Only trigger subprojects of Branch Source Plugins
Issue Type: Improvement Improvement
Assignee: Igal Gluh
Components: multibranch-scan-webhook-trigger-plugin
Created: 2020-02-13 16:07
Priority: Minor Minor
Reporter: Stephan Vallant

We are using the Bitbucket branch source plugin to manage our jobs.

To trigger a project rescan (after pull requests ect) we are firing a webhook that is received by the multibranch-scan-webhook-trigger plugin.

Now for a normal multibranch-project this would work just fine, but the Bitbucket plugin doesn't let us control the settings of the subproject- so all branches in all projects are rescanned, which is quite a long process.

Therefore i wanted to ask if there is a possibility to automatically map the received token to a folder name?

 

e.g. i have a Bitbucket account with two repositories, A and B.

Using the Bitbucket plugin both will show up in jenkins under the organizational folder.

It would be great if there was a way to just trigger the webhook with "token=A", to trigger a rescan of project A.

At the moment i am only able to configure one webhook-token for the root-folder, which would trigger a rescan for both A and B.

Any thoughts on this? I looked through the code a bit, i think it would be feasable without too much work, but i don't have any experience in building plugins..

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages