When you create a Github organization or a Bitbucket team / project, one of the configuration items:
Project Identifiers: Pipeline Jenkinsfile
There are no other options besides the Pipeline Jenkinsfile, however, the fact that this option is even there indicates that developers assume that people write their own "recognizers" for projects that do not have a single "Jenkinsfile" in the top directory repo.
Can someone point me towards any other project recognizers that can be installed and used, or even some details about where to start implementing my own recognizer?
My specific use case is that in one repository we define several workflows that organize code / configuration actions in one repo, and I would like to be able to use the Bitbucket Team command to dynamically scan the repo, find all the *.Jenkinsfile files for all requests branches / pull and fill the necessary conveyors.
For example, the repo contains files:
/pipelines/workflow1.Jenkinsfile /workflow2.Jenkinsfile /workflow3.Jenkinsfile
I would like jenkins to create a folder structure:
/team/repo/workflow1/master /dev /PR1 /workflow2/master /dev /feature-xyz
Any thoughts on where I could start by creating a Project Recognizer for this (if possible)?
source share