Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
twcurrie opened this issue Jul 3, 2024 · 0 comments
Open

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

twcurrie opened this issue Jul 3, 2024 · 0 comments

Comments

@twcurrie
Copy link

twcurrie commented Jul 3, 2024

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.

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

No branches or pull requests

1 participant