Skip to content

Leading zeros dropped by upload due to lack of quotes. #25

@twcurrie

Description

@twcurrie

Background

Description

Numeric values with leading zeros are not being quoted when the generated pipeline file is being written to disk. Without the quotes, the subsequent buildkite-agent pipeline upload command interprets the numeric as an integer and trims the leading zero, resulting incorrect values within the executed buildkite pipeline. This occurs even if the numeric is quoted.

Steps to Reproduce

In any buildkite step, for some step parameter, provide a numeric w/ a leading zero. Use plugin to generate pipeline. Observe failure.

Desired Change

Keep quotes around numerics with leading zeros.

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