Greetings,
I wanted to disable a child branch as follows but got an exception that the plan was not found. I suspect, that the initial check does not expand the search to branches. How could I enable this?
this works:
./bamboo.sh -s https://XXXXX.jira.com/bamboo -v -a getPlan --plan=BENTO-REL0
but the following produces an exception (interesting enough the command insists on --build, although in the doc --plan is specified):
./bamboo.sh -s https://XXXXX.jira.com/bamboo -v -a disablePlan --build=BENTO-REL0
Error is:
Response code: 200, message: OK, url: https://XXXXX.jira.com/builds/rest/api/latest/plan?os_authType=basic&max-results=1000 Looking for plan BENTO-REL0: BENTO-MASMER Looking for plan BENTO-REL0: BENTO-REL Remote error: BENTO-REL0 not found. org.swift.common.cli.AbstractRemoteClient$RemoteRestException: BENTO-REL0 not found. at org.swift.bamboo.cli.BambooClient.verifyKeyExists(BambooClient.java:2138) at org.swift.bamboo.cli.BambooClient.enableBuild(BambooClient.java:1603) at org.swift.bamboo.cli.BambooClient.enablePlan(BambooClient.java:1591) at org.swift.bamboo.cli.BambooClient.enablePlan(BambooClient.java:1579) at org.swift.bamboo.cli.BambooClient.handleRequest(BambooClient.java:398) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:122) at org.swift.common.cli.CliClient.doWork(CliClient.java:313) at org.swift.bamboo.cli.BambooClient.main(BambooClient.java:104)
Any help would be highly appreciated!
Thanks,
Dan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.