jenkinsci / seed-plugin

Seed Jenkins plug-in
https://plugins.jenkins.io/seed/
38 stars 13 forks source link

Support for pipeline name different than branch path #4

Closed dcoraboeuf closed 9 years ago

dcoraboeuf commented 9 years ago

In some contexts, the SCM path to the branch might be different than the name to give to the branch pipeline and folder, and a simple naming convention cannot be enough.

In this non trivial case, we must also be able to change the branch pipeline to take into account a new SCM path.

This is typical case when a release or version is attached to a trunk or master, and that its semantic will change with time.

For example:

This kind of situation should be avoided but does exist in some projects where the branch = version paradigm has not been applied yet.

In the later case, there is no need to operate a dichotomy between a branch name and a branch path - they are the same.

Objective: find a way to enable this separation, by allowing the project to enter an additional parameter when generating a branch:

dcoraboeuf commented 9 years ago
dcoraboeuf commented 9 years ago

Make the BRANCH_SCM parameter available to the pipeline generator