Start Personal Build Via REST API



Hi,


I am able to successfully start a build by doing this:


wget 'http://<secret>:<secret>@tc.foo.com:8111/httpAuth/action.html?add2Queue=bt999&agentId=100'


How do I specify it is a personal build?


TIA,
-T

3 comments
Comment actions Permalink

Add personal=true parameter to the string.

0
Comment actions Permalink

Sorry, that didn't work.  The the correct build starts, but now it doesn't start on the correct agent *and* it isn't a personal build either:

Here is the command and its output:

> wget 'http://tennis:<secret>@tc.navis.com:8111/httpAuth/action.html?add2Queue=bt1064&agentId=158,personal=true'

--15:01:24--  http://tennis:*password*@tc.navis.com:8111/httpAuth/action.html?add2Queue=bt1064&agentId=158,personal=true

           => `action.html@add2Queue=bt1064&agentId=158,personal=true'

Resolving tc.navis.com... done.

Connecting to tc.navis.com[10.47.101.6]:8111... connected.

HTTP request sent, awaiting response... 200 OK

Length: 0

    [ <=>                                 ] 0             --.--K/s

15:01:25 (0.00 B/s) - `action.html@add2Queue=bt1064&agentId=158,personal=true' saved [0/0]


What am I missing?

-T

0
Comment actions Permalink

Nevermind. :)   It works now.

This is the correct syntax:

http://tennis:*password*@tc.navis.com:8111/httpAuth/action.html?add2Queue=bt1064&agentId=158&personal=true


Thanks again,
-T

0

Please sign in to leave a comment.