Is it possible to pass a Build number via http REST command to the server to start new build using this passed in build number?

0down votefavorite

I tried something like that:
I created a system property called xbuildnum and set the BuildFormat of this particular build type to %system.xbuildnum%.
Unfortunately it seemed like the build wouldn't use the build number that I passed in via URL.
Is this do-able at all, and if so, how?

1 comment
Comment actions Permalink

We do something similar here and it works for us.

The differences we have are you need to use

And you need to make sure the build configuration has that build parameter added (we just use a default value).

Hope that helps.



Please sign in to leave a comment.