Hi,
Probably a very stupid question, I'm a complete bamboo REST noob.
I can't get the results (builds) for a plan using the REST API :
/rest/api/latest/result.json/PRJ-PLAN
The doc :
https://docs.atlassian.com/bamboo/REST/4.4-SNAPSHOT/#d2e228
This always returns '404 null for uri'. I have a valid result when I don't specify no project or project-plan :
/rest/api/latest/result.json
Of course, PRJ-PLAN exists, it's even returned by the 'result.json' call...
The command line does work :
/bamboo.sh -s http://mybamboo -u vankeisb -p ****** --action getBuildList --build "PRJ-PLAN"
It returns a list of the builds for the target plan.
Am I doing something wrong ?
Thanks,
Rémi
Bamboo version : 4.4.5 build 3507 -27 Mar 13
Community moderators have prevented the ability to post new answers.
Hi Rémi,
Shouldn't it be rather "/rest/api/latest/result/PRJ-PLAN.json" instead of "/rest/api/latest/result.json/PRJ-PLAN" ? Can you try that?
Woaw how dumb I feel... I was actually trying to capture the HTTP requests sent by the CLI !
Thanks a lot, that works. I will probably go hide myself in a hole somewhere now :P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Lol, just check if you have some wi-fi in that hole before you hide. Otherwise what will you be doing there?
I'm glad that it helped.
regards!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.