[JIRA] (JENKINS-62138) Override by local Jenkinsfile

14 views
Skip to first unread message

jim.mavrommatis@gmail.com (JIRA)

unread,
May 1, 2020, 10:58:02 AM5/1/20
to jenkinsc...@googlegroups.com
Dimitrios Mavrommatis created an issue
 
Jenkins / New Feature JENKINS-62138
Override by local Jenkinsfile
Issue Type: New Feature New Feature
Assignee: Aytunc BEKEN
Components: multibranch-action-triggers-plugin
Created: 2020-05-01 14:57
Priority: Minor Minor
Reporter: Dimitrios Mavrommatis

I would like, if possible, to add the option of supporting local `Jenkinsfile` inside the repository.

The use case is that we are using a `GitHub Organization` job that picks up some repositories and run a specific `Jenkinsfile` that we specify from this plugin. The problem comes when we want to have some customisation or temporarily test something on one repository (or even one branch).

For that reason, I thought that it might be a good idea to specify some type of hierarchy:

  • If repository already has `Jenkinsfile` and override is enabled; it uses the local one instead of the remote one, otherwise
  • Remote Jenkinsfile is used
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

aytuncbeken.ab@gmail.com (JIRA)

unread,
May 1, 2020, 5:20:03 PM5/1/20
to jenkinsc...@googlegroups.com
Aytunc BEKEN commented on New Feature JENKINS-62138
 
Re: Override by local Jenkinsfile

I am not sure if this is related to MultiBranch Action Triggers Plugin. Therefore I will change the component to GitHub Organization Plugin.

aytuncbeken.ab@gmail.com (JIRA)

unread,
May 1, 2020, 5:20:04 PM5/1/20
to jenkinsc...@googlegroups.com
Aytunc BEKEN updated an issue
Change By: Aytunc BEKEN
Component/s: github-organization-folder-plugin
Component/s: multibranch-action-triggers-plugin

aytuncbeken.ab@gmail.com (JIRA)

unread,
May 1, 2020, 5:20:04 PM5/1/20
to jenkinsc...@googlegroups.com
Aytunc BEKEN assigned an issue to Kohsuke Kawaguchi
Change By: Aytunc BEKEN
Assignee: Aytunc BEKEN Kohsuke Kawaguchi

jim.mavrommatis@gmail.com (JIRA)

unread,
May 2, 2020, 2:36:03 PM5/2/20
to jenkinsc...@googlegroups.com

Aytunc BEKEN
I would say that this can be applied to Multibranch job if someone wants to have a branch with a custom `Jenkinsfile` but that's a different use case.

aytuncbeken.ab@gmail.com (JIRA)

unread,
May 3, 2020, 10:05:05 AM5/3/20
to jenkinsc...@googlegroups.com
Aytunc BEKEN updated an issue
Change By: Aytunc BEKEN
Component/s: workflow-multibranch-plugin

aytuncbeken.ab@gmail.com (JIRA)

unread,
May 3, 2020, 10:06:02 AM5/3/20
to jenkinsc...@googlegroups.com

I added component, Workflow multibranch plugin, may they can help you about your issue.
Thanks.

Reply all
Reply to author
Forward
0 new messages