Pipe build plan output when run via CLI

V April 24, 2014

I'm trying to build a nightly-build-plan for Bamboo with the help of the CLI. Is it possible, to pipe the output of the queued builds to stdout, so I can see everything that happened in the log of the nightly-build-plan? Currently my log looks something like this:

25-Apr-2014 14:51:54 	Build A-A submitted. Waiting ...
25-Apr-2014 14:52:04 	Build A-A-13 completed.
25-Apr-2014 14:52:05 	Build A-B submitted. Waiting ...
25-Apr-2014 14:52:46 	Build A-B-14 completed.
25-Apr-2014 14:52:47 	Build A-C submitted. Waiting ...
25-Apr-2014 14:54:08 	Build A-C-6 completed.
25-Apr-2014 14:54:10 	Build A-D submitted. Waiting ...
25-Apr-2014 14:55:11 	Build A-D-123 completed.

1 answer

0 votes
Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 25, 2014

Not that I am aware of. Just to be clear, I will state your request in another way. You want the log of another build (once it is complete) to be copied into the current build log.

V April 27, 2014

Not exactly. What I want is, to see the output of a build when I run the build via the CLI. It doesn't really matter if I start the build through another build or from the console.

Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 27, 2014

So, if I do a queueBuild with wait, provide an option to retrieve the build log. Yes, I think that might be possible. And if it is run as part of a build, the log would get included, however, it would have both the log timestamp from the current build and the log timestamp from the build that was queued for each entry.

Can you please open a improvement request for this?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events