jenkinsci / jenkinsci/scm-api-plugin

[JENKINS-69678] Request for wildcard in defining Jenkinsfile paths

Open
#429 0 comments 0 reactions 0 assignees View on GitHub
component:scm-api-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
33
Forks
87
PR merge metrics
No merged PRs in 30d

Description

I would like to be able to create a multibranch plugin project with the Script Path defined with a wildcard and capture.

As an example I'd like to define the path as something like jenkins/misc/(.*).jenkinsfile and have the generated project name match the capture.

For most projects there are a finite set of build that would be generated. But occasionally projects have a unique build and I'd like them to be able to create those ad-hoc.

The build could be found under //develop/.

It seems like this could be added to SCMFile.

---
Originally reported by dchesterman, imported from: Request for wildcard in defining Jenkinsfile paths


  • status: Open
  • priority: Minor
  • component(s): scm-api-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 20251223-222157

Raw content of original issue

I would like to be able to create a multibranch plugin project with the Script Path defined with a wildcard and capture.

As an example I'd like to define the path as something like jenkins/misc/(.*).jenkinsfile and have the generated project name match the capture.

For most projects there are a finite set of build that would be generated. But occasionally projects have a unique build and I'd like them to be able to create those ad-hoc.

The build could be found under <MyOrganizationFolder>/<MyRepo>/develop/<myJenkinsfileName>.

It seems like this could be added to SCMFile.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.