Launch configuration with a URL

Hi,

I would like to launch a configuration (bt29) by URL with a build number

For example :

http://userName:password\@srv-teamcity:8111/httpAuth/action.html?add2Queue=bt29&name=build.vcs.number&value=123456

The build number is not taken into account

How should I configure my URL to include the build number?

Thank you in advance

Stephane

3 comments
Comment actions Permalink

Hi Stephane

A build number is auto-generated property, so it cannot be predefined before a build.
But you can replace it from your build script by a service message or teamcity-info.xml file.

Michael

0
Comment actions Permalink

Hi,

I misspoke, is not a "build number" of my configuration, but is changelist number of my source control Perforce

the goal is to run all my configurations with the same number

One master configuration must launch by URL three slave configurations (one per plateforme)

Stéphane

0
Comment actions Permalink

Hi

For the moment, there are no suggestions so I relaunch.

Is there a way to ask my configuration for "Latest changes at the moment the build is triggered"(posted for execution) instead of " Latest changes at the moment the build is started"(actually really started).
My goal is to launch the compilation of all of my 5 projects on Mac and Windows with the same source control change number but the projects will be compiles one after the other and it takes time. Because of that there is a risk that someone will submit his modifications to the source control and my build (n+1) will have a different source control change number.

Regards,

Stéphane

0

Please sign in to leave a comment.