I have set up a Bamboo Job that has 4 tasks
Source Code checkout
Script (bash with grep)
The script file needs to parse the log created during 1st Ant task, then if a string is present (return 0) launch the next Ant task. I am unsure how to read the log - my script executes but exits with a status of 2 (error from grep)
I tried hard coding in the url for the log, but that did not work, so wondering if I can access the log at this stage of processing.
Any thoughts, pointers, suggestions ??
Thank you for your question.
I would suggest you on splitting your tasks into two jobs, so when running the Script task you can guarantee the previous job has build successfully and you will be able to "grep" its generated log.
Default Stage -- Default Job ---- Source Code Checkout (task) ---- Ant (task) -- Extended Job ---- Script (task) ---- Ant (task)
If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.
Thank you for your understanding.
Rafael P. Sperafico
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs