jenkinsci / jenkinsci/depbuilder-plugin

Support for parameterized builds

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
2
Forks
2
PR merge metrics
No merged PRs in 30d

Description

### What feature do you want to see added?

Given that this project has its own DSL, I'm surprised there's no "parameters:" (or "params:") stanza that can be applied to the build configurations.

It would be nice if one could pass in parameters to the DepBuilder job and then propagate those parameters downward towards the called jobs.

As an example:
```
project {
agent: [linux_runner_1]
param:
name1: ${SOME_PARAM}
name2: "some-static-value"
name3: ${ANOTHER_PARAM}
}
```

Where SOME_PARAM and ANOTHER_PARAM are values passed into the depbuilder job. It's possible a more complex syntax is required since some parameters need to be typed, but this could also be accounted for here by requiring the correct syntax to be used (i.e. string:$VALUE or file:$VALUE)

### Upstream changes

_No response_

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.