This project has moved. For the latest updates, please go here.
1
Vote

Build arguments are not returned for a build definition via the TFS API if they are left as default values

description

I have just found a bug (feature?) in the way the DSL does this; turns out if you did not set the major and minor version argument values in the build editor (you just left them to their default values of 1 and 0) then the DSL fails as defaulted argument are not returned in the property set of the build definition we process in the DSL. You would expect to get a 0 back, but you in fact get a null.

See http://blogs.blackmarble.co.uk/blogs/rfennell/post/2015/02/11/Build-arguments-are-not-returned-for-a-build-definition-via-the-TFS-API-if-they-are-left-as-default-values.aspx for a discussion of the issue and the workaround

comments