[JIRA] (JENKINS-56771) Add Path filtering to triggers in multibranchPipelineJob branchSources

4 views
Skip to first unread message

yorgo@protonmail.com (JIRA)

unread,
Mar 27, 2019, 4:31:02 AM3/27/19
to jenkinsc...@googlegroups.com
Yorgos Saslis created an issue
 
Jenkins / New Feature JENKINS-56771
Add Path filtering to triggers in multibranchPipelineJob branchSources
Issue Type: New Feature New Feature
Assignee: Mark Waite
Attachments: Screenshot 2019-03-27 at 10.27.26.png
Components: git-plugin, job-dsl-plugin
Created: 2019-03-27 08:30
Priority: Minor Minor
Reporter: Yorgos Saslis

in a `multibranchPipelineJob`, we can currently select branches that we want to include and exclude in our triggers.

 

We have some use cases where we would like commits to files under certain paths to NOT trigger a build.

 

This seems like it is supported already through the git-plugin's "polling ignores commits in certain paths" advanced option, so I was wondering if there are any plans to extend support for this to the `multibranchPipelineJob`'s `branchSources`.

 

Thanks,

Yorgos

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

mark.earl.waite@gmail.com (JIRA)

unread,
Mar 27, 2019, 7:42:01 AM3/27/19
to jenkinsc...@googlegroups.com

yorgo@protonmail.com (JIRA)

unread,
Mar 27, 2019, 9:43:02 AM3/27/19
to jenkinsc...@googlegroups.com
Yorgos Saslis updated an issue
Change By: Yorgos Saslis
in a `multibranchPipelineJob`, we can currently ONLY select branches that we want to [include|https://jenkinsci.github.io/job-dsl-plugin/#path/javaposse.jobdsl.dsl.DslFactory.multibranchPipelineJob-branchSources-git-includes] and [exclude|https://jenkinsci.github.io/job-dsl-plugin/#path/javaposse.jobdsl.dsl.DslFactory.multibranchPipelineJob-branchSources-git-excludes] in our triggers.

 

We have some use cases where we would
like ALSO need builds NOT triggered, when commits to only include files under certain paths to NOT trigger /folders in a build repo .

 

This seems like it is supported already through the git-plugin's "polling ignores commits in certain paths" advanced option
(see screenshot) , so I was wondering if there are any plans to extend support for this to the `multibranchPipelineJob`'s `branchSources`.

 

Thanks,

Yorgos

mail@daniel-spilker.com (JIRA)

unread,
Apr 3, 2019, 3:26:02 AM4/3/19
to jenkinsc...@googlegroups.com
Daniel Spilker updated an issue

Removing the job-dsl-plugin component as this feature needs to be implemented by the git-plugin. It will then be available in Job DSL automatically through Dynamic DSL.

Change By: Daniel Spilker
Component/s: job-dsl-plugin

yorgo@protonmail.com (JIRA)

unread,
Apr 5, 2019, 6:04:02 AM4/5/19
to jenkinsc...@googlegroups.com
Yorgos Saslis commented on New Feature JENKINS-56771
 
Re: Add Path filtering to triggers in multibranchPipelineJob branchSources

Daniel Spilker thanks for reviewing.

 

Tbh, I am not sure I understood what feature needs to be implemented by the git-plugin. As I wrote in the description and as is shown in the screenshot, the "Additional Behaviours" already DO show this feature as being available.

...Sounds like I'm missing something?

bmiddleton@sdl.com (JIRA)

unread,
Nov 19, 2019, 11:04:03 PM11/19/19
to jenkinsc...@googlegroups.com

I would also like to see the multibranchPipelineJob support this on bitbucket sources. Right now I have multiple multibranchPipelineJob that point to the same repository, and any commits to that repository trigger all related jobs. Ideally I would like to be able to only trigger a job if certain files within the commit are changed.

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