Skip to content

Default values for parameters? #2006

Closed
Closed

Description

@cjohansen

Feature Request

When parameterising a pipeline using ((placeholders)), is there any way to provide defaults for these parameters, such that they become optional with set-pipeline? I have a pipeline that uses parameters with include paths for build steps (e.g. file: pipelines/((project_type))/test.yml) - depending on what file you end up loading you might need some parameters, and would like to avoid declaring a bunch of empty parameters for the "types" where they don't apply.

Activity

  1. cjohansen commented on Feb 6, 2018

    @cjohansen
    Author

    I put default values in credhub, and that solves my issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions