Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

How parametrized build could be performed #47

Open
eonezhang opened this issue Oct 12, 2017 · 0 comments
Open

How parametrized build could be performed #47

eonezhang opened this issue Oct 12, 2017 · 0 comments

Comments

@eonezhang
Copy link

in the doc it said,

In case you define a parameter inside the branch specifier in Git configuration of the project, the plugin will replace the parameter value with the commit branch from the payload.
Replacing is done by matching ${PARAMETER_KEY} in the branch specifier to the parameter list for the project.
This is useful e.g. when you want to define a single project for all the branches in the repository.
Setup might look like this:
parametrized build with string parameter BRANCH_TO_BUILD, default = master
Source Code Management --> Branch specifier: origin/${BRANCH_TO_BUILD}

it seems not work, and even didn't know where to go.
is any example for it, or could be some can explain the detail.

Thanks in advance.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant