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

Parameter Default Values are not used if they're value type defaults #236

Closed
thomhurst opened this issue Sep 16, 2022 · 2 comments · Fixed by #237
Closed

Parameter Default Values are not used if they're value type defaults #236

thomhurst opened this issue Sep 16, 2022 · 2 comments · Fixed by #237
Assignees
Labels
Azure DevOps Azure DevOps related bug Something isn't working

Comments

@thomhurst
Copy link
Contributor

I've tried declaring a BooleanParameter with a default value of false, but this doesn't serialise into the pipeline.

I then get an error when running the pipeline saying I must set a parameter value (since it has no default)

I suspect the same would be if you tried an integer with a value of 0.

@premun premun added bug Something isn't working Azure DevOps Azure DevOps related labels Sep 16, 2022
@premun
Copy link
Collaborator

premun commented Sep 16, 2022

Thanks for reporting! This is a simple fix but I think I will have to generate and actually use more YAMLs in a PR pipeline to catch problems like these.

@premun
Copy link
Collaborator

premun commented Sep 16, 2022

This is fixed in 1.4.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure DevOps Azure DevOps related bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants