Skip to content

Support for parameterized builds #3

@drivera-armedia

Description

@drivera-armedia

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions