Comments
-
Thank you for the whole explanation. I think I now understand what you are talking about. I would say the answer is no, but I'll try to get a developer to review this question and check if he can give us a way to handle that.
-
No worries, sorry for not being clear in my first message. I see you in the next thread!
-
Hello @Michael Smith If you are mainly referring to deployments, I want to make sure you know that they essentially only happen to the specific branch configured in them. What I mean is that even if you have multiple plan branches with new builds, there is only one build automatically driving the deployment itself. Does…
-
Hi @Marcelo Neto I'm sorry to hear that you are facing this issue. As the message states Bamboo is not able to access the repository and therefore is asking you to try recovering this connection. A couple of checks that may guide to a better understanding of what is causing this issue: * Check if this repository works…
-
Hello @Philippe Weber I think I understand what you need, but I also know that you cannot achieve it using the strategy you planned. Bamboo will now allow you to change server instance variables. The best you can do is to change them in the terminal, but that will not serve to your purpose. Tasks run from JAVA runtime…
-
Hi @Dmitrij Kultasev Please give the steps above a chance. They will give you exactly a list of deploymentResultIds for a given environment. This is the relationship between the plan and a given deploymentResultId: * Build plan >> Deployment Project Id >> Deployment Environment Id >> deploymentResultId I just tested these…
-
Hello @[deleted] Thank you for bringing this one up. When testing this I realized that this issue is caused by a problem to interpret the square brackets "[[" at the beginning of this command. I just opened a bug report for this thanks to you: * [#18870] bitbucket-pipelines.yml validator should correctly handle the bash…
-
You are welcome! I'm glad that you found the permission issue =]
-
Hi @[deleted] You will need to convert your command from CMD (Windows) to bash (Linux). The format of a loop in bash would be something like: for F in $(command1); do command2 $F ;done The command1 ideally should return values with quotes separated by space or line breaks. The quotes are only needed if the names have…
-
Yes, @Kevin De Wolf that port needs to be open. You can also use a different port by changing the value in <Bamboo_Home>/bamboo.cfg.xml and restarting the Bamboo server. The agent is the one who seeks for the Bamboo server and it will first do an HTTP request to Bamboo asking for the broker configuration and then use…
-
Hi @[deleted] I would suggest you open a ticket but I see you already did that. Our support channel will be the best option for this type of problem given that we would need your logs to move forward. If you don't mind, please share your findings here when you have the issue resolved. This will help other users with…
-
Hey @pinebit Thank you for explaining the scenario better. Yes, that is the idea, you will need a special stage and job for this. The stage will allow you to have all the artifacts from prior jobs ready to be downloaded into the new job. I didn't mention the stage part (my bad) because the job will be the building block…
-
Hi @pinebit, The easiest way I see you could implement this is by serializing the work in the same remote agent (as you said you run the build plans on different machines and you probably have a reason for that). Bamboo does not have a feature like a mutex to mutually exclude plans, stages or jobs that share the same…
-
Hello @Eric_Wingate That seems a pretty reasonable question and I didn't have tried that in pipelines before. Thanks to you I tested it now =] You will need to use the command exit 0 wherever you decide if the condition to stop is met. You could use a bash if-then-else. e.g. var=stop if [ $var == 'stop' ]; then exit 0; fi…
-
Hello @LiveDuo That is an interesting scenario indeed. I've run a search in our issue system and happened to find an improvement request already filed for this: #16560 - Trigger pipeline only if certain files are changed. I guess that would cover your case. I guess you need this problem solved now and therefore I have an…
-
Hello @SaiCharan I see the error you have is happening inside the build working directory folder. This folder is created dynamically by the user running Bamboo which for this particular case is bamboo. By default, this user should be able to have all the access to create and remove folders in this particular location.…
-
Hi @Sentinel Thank you for raising this question. It is a challenging one =] It is difficult to find people with the right skills in both apps to do solve the whole puzzle, but I can share with you the Bamboo part. This is an example of how you could get the deployment name and the deployment id for a given plan key. You…
-
Hi @Philip Colmer Thank you for clearly stating the problem, it helps a lot who answers. The perfect solution for you would be using the Pre-Post Build Command Runner plugin. Unfortunately, It is not available for Bamboo versions after 6.7.3. It is an Atlassian Labs plugin and therefore has no support nor updates…
-
Hi @nigelgbanks This issue will probably require a deeper investigation. First of all, I see that you posted this question 10 days ago. Do you still face this issue?Anyway, I would check this: * What is different from this user if compared with the other ones? Check global permissions Check if this user comes from a…
-
Hello @Dmitrij Kultasev I hope you are doing great! Let me share a couple of steps you can use to get this information knowing just the plan associated with a given deployment. * Get the <PLAN_KEY> and run the following request: curl -u <USER>:<PASSWORD> \ -X GET -p…
-
You are welcome @Sumit Kumar Gaur Yes, that is the option I see. You will need to use something like curl to download the specific version you need.
-
Hi @JMONTOYAAIT You probably know that this issue is not caused by Pipelines itself, but for an archived reference from this old Debian image. I was able to test this image with docker in my local machine and saw the same error you had. Tried to find the solution for it and found one in this thread: *…
-
Hi @yogesh_devi Thank you for sharing a detailed problem description. That is very helpful. Can you confirm you are using the Git repository type and not Bitbucket one to configure your source repository in Bamboo? The Git option should be able to use the submodules with your local SSH keys if the option [x]Use submodules…
-
Hello @preeti singh Could you share some examples of which files you wanted to match and which ones you don't want? I need that to really understand the scenario there so I can help you to build the REGEX for it. I have a couple of examples to share: .*/filename * This one will match any file called "filename" in any…
-
Great! You are welcome!
-
The link is now fixed, thank you for pointing that out @Olve Hansen
-
Hi @tdzarnes Is their a way to have quarantined tests for one build plan auto populated to another? Bamboo does not have an out-of-the-box feature for this. We have essentially two Main build plans. One is used for offshore work that gets merged back to the primary daily. At any given time we have 10-20 quarantined tests…
-
Hi @Abdoulaye Tandian Thank you for following up! If you think this response will help others in our community, please click accept this answer. Have a good one!
-
Hi @Dmitrij Kultasev The method you are trying to use does not support POST but PUT. Have you tried using PUT? Bamboo REST API reference for this method * /plan/{projectKey}-{buildKey}/branch/{branchName} I hope that is the only issue =]
-
Hello @Joe Maffei Bamboo does not have a feature for this out-of-the-box, but you could use a script task for that at the beginning of the plan jobs. The script task would remove all files in the build working directory. I guess that will be challenging to identify when a version changes. You will need to compare the…