Optional parameters using TeamCity #3104
-
When we pass in an optional parameter with teamcity and we haven't filled in a parameter it does it via --option= I see that on https://cakebuild.net/docs/getting-started/upgrade#passing-empty-arguments this was done on purpose. It now seems all optional parameters are impossible using one of the mainstream CI/CD servers. Any idea on how to accomplish this now on 1.0? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
One idea is we could regex out the = since it works without it, or if there is any value. So have the powershell bootstrapper regex out the "bad" arguments. |
Beta Was this translation helpful? Give feedback.
-
@DTTerastar The answers on this question "How do you pass empty arguments in Cake v1?" on StackOverflow might be what you're looking for. |
Beta Was this translation helpful? Give feedback.
@DTTerastar The answers on this question "How do you pass empty arguments in Cake v1?" on StackOverflow might be what you're looking for.