How to start only one stage in my bamboo assembly?

I have a bamboo assembly with 2 steps: Build & Test and Publish. How bamboo works, if Build & Test does not work, publishing does not start. This is usually what I want.

However, sometimes Build & Test fails, but I still want the publication to run. This is usually a manual process, although despite the lack of a test, I want to press a button so that I can simply start the publishing phase.

In the past, I had two separate plans, but I want them to be together. Is it possible?

+8
source share
2 answers

From the help forum at Atlassian, here: https://answers.atlassian.com/questions/52863/how-do-i-run-just-a-single-stage-of-a-build

The short answer is no. If you want to start the scene, all the previous steps must complete successfully, sorry.

What you can do is use the Quarantine functionality, but it requires restarting the failed task (in the not yet released Bamboo 4.1, you may need to click "Show more" on the build results screen, run).

Another thing that can be useful in such a situation (but not for the OP) is disabling tasks.

+11
source

Generally speaking, the best solution to most of Bamboo's problems is to rely on Bamboo as little as possible because you will not be able to fix it in the end.

In this case, I would just quickly write / reuse the mechanism for resolving asynchronous dependencies (something like GNU Make and its purpose) and start it from one stage.

Then just run everything for the default target all -like and give users the option to select the target in a custom launch variable.

0
source

Source: https://habr.com/ru/post/914946/


All Articles