Comments
-
Hi @Shawn Nolan Thank you for sharing both the error and the bitbucket-pipeline.yml file. It helps us to have better clues on what is causing the issue here. If your bitbucket-pipeline.yml was exactly as you shared, the problem is that the pipe is looking for files at "/" (root of the OS filesystem) and it is finding some…
-
Hello @Sebastian_R Thank you for carefully explaining the scenario you got into. I'm not sure if what I'll share here is the best option to move forward, but I wanted to share my 2 cents with you. If you keep your build running, the agent handling it will not be able to take new builds, as you already know. It means that…
-
Hi @Jiří Pazdera I see you are new here, welcome to our community! The rule of the thumb is: you should ensure your applications are using the same major version of AppLinks to resolve any potential incompatibilities. This document is the source of truth in this topic: * Application links version matrix - Atlassian…
-
@lshermparr Thank you for sharing your findings here. That will be useful for other users. Regarding your question on a fix, I'm working on it internally so we can bring more attention to this case. I still don't have an ETA. Please keep your eyes on #15358 - REST API 2.0 to get raw content of an individual file on fails…
-
Hi @james.scanlon I see you are new here. Welcome to Atlassian Community! Let me work on your questions: Is the SSH inbound required as part of the elastic bamboo service or can this be locked down to 'known ips'? It can be locked down to specific IPs. In fact, this port is not used by Bamboo, but available to allow you to…
-
Hi @lshermparr , Welcome to our community, I see you are new here =] how do I reference branches that are in folders/nested? For example the branch testing/johnQA? That is not possible at the moment due to a bug affecting the background API for pipelines #15358 - REST API 2.0 to get raw content of an individual file on…
-
You are welcome! I'm glad to be helpful.
-
Hi @[deleted] This problem is caused by a bug. What happens is that whenever a branch with a forward slash is used the API in the background will fail and the feature will not work. You can clearly see the problem described here: #17742 - Creating a scheduled Pipelines for a branch with the "/" character in the name fails…
-
You will need to extract both the pull request ID version to merge it. This is the call you can use: Bitbucket server curl -X POST <BITBUCKET_URL>/rest/api/1.0/projects/<PROJECT>/repos/<REPOSITORY_SLUG>/pull-requests/<PULL_REQUEST_ID>/merge?version=<VERSION> \ -u <USERNAME>:<PASSWORD> \ --header…
-
I'm glad it is working now! =]
-
Hi @Ray_Zhang It looks like Bamboo failing to load setup details, at least that is what I could understand from this stack trace. Can you check if there are any permissions errors in the service stdout and stderr prior to the stacktrace you shared here? If you have them, please: * Stop the service * Make sure you have all…
-
Hi @Esther Strom Yes, you need to make sure git is installed so the command can succeed. You will need it to get the commit message. I tested this command using the default docker machine atlassian provides when you don't specify a specific image.
-
Yes, that is right! =]
-
Hi @Rajat Gupta Is it a bash shell script? I'm afraid you need to set a special option to make sure the script itself will return an error in case any of its commands fail. Please take a look at this article (bash - When to use set -e) and let me know if setting the environment options below, at the beginning of your…
-
Hi @Esther Strom I'm glad that you could already fix the first part of the issue =] Now the problem is on understanding how the PIPE jira-transitions works. According to what is described in the link before, the ISSUE attribute should receive a Jira issue key but it is receiving the name of the branch which will be always…
-
Hi @Subhi Andrews That should be the right direction. * Were you able to get it working? * Do you need it for Bitbucket cloud or server?
-
Hello folks, Until this moment (Bamboo version 6.8.0) It is not possible to set/update custom variables for a deployment using REST API. We do have a feature request to cover this scenario here: * [BAM-18838] Custom Variables in /queue/deployment REST call - Create and track feature requests for Atlassian products. As a…
-
Hi @musei_ki I apologize for the confusion I made in this thread. Somehow my test was mistaken. The post will work but the variable will not change its value. There is a feature request for this [BAM-18838] Custom Variables in /queue/deployment REST call and the workaround is to use the inject variables task or use the UI.…
-
Thank you @[deleted] If you think this answer will help others, I'll kindly ask you to accept it. See you in the next thread!
-
Hi @[deleted] That is not possible. Recently we even deprecated our user management APIs due to the Atlassian GDPR Compliance. There is an improvement request suggested to create a variable for this to get commiter email, similar to what you need: * Expose commiter e-mail in Bitbucket Pipelines as an environment variable…
-
Hi @Tarek Liedtke You will need to check the agent logs to really know what is the issue here, but my first guess is that your remote agent is not able to resolve the bamboo-server name. This is one of the multiple ways to check the agent logs: docker logs bamboo-agent If you confirm the error about the name resolution,…
-
Hi @Greg Polito I'm afraid that your PATH variable does not have the same value when Bamboo is running as LocalSystem account. You could check this through: * Add the command SET right before the vstest.console.exe call. * Run the command SET in the server terminal with a normal user account that can execute vstest. *…
-
Hi @Subhi Andrews You could use a script task and call a REST API to create the pull request. Below you can find two examples using the curl command, one for Bitbucket cloud and another for server. Bitbucket Cloud curl https://api.bitbucket.org/2.0/repositories/<USER_NAME>/<REPOSITORY>/pullrequests \ -u…
-
Hi @Vinh Tran Two things you need to check: * Is this cipher file the exact same one when you created the backup? * Does the user or service running Bamboo at the moment have ownership on this file? Please check this document for this case: Unknown cipher data id 0 when performing certain actions in Bamboo on Windows after…
-
Hi @Eric Darchis What do you get when you try to run the below command? curl -s "http://couchdb:5984" > /dev/null According to the log messages you shared it seems that the curl command is not able to resolve the couchdb host. It curl is not able to translate that name into an IP it will never be able to see if the service…
-
Hi @vidyadeshmukh You will need to use Azure CLI (Microsoft tool) for that. This document should provide you with the right steps on how to generate the Azure password: Deploy to Microsoft Azure - Atlassian Documentation. I hope that helps!
-
Hi @Dineshmathiazhagan If you delete the source repository branch, Bamboo will not run a build for it but It will disable its related plan branch. If you want to merge it to master and not have a build triggered for it, you can: * Use the Bamboo Exclude Changesets feature Repository >> Change Detection Options >> Exclude…
-
Sorry, I wasn't able to work on this one before, but I'm glad that you found a workaround for the issue. Let me know if I can still help you with anything on this matter.
-
Hi @Jiri Zahradka I was checking the source code of Bamboo and found this error. It is related to deployment internal objects. It is possible that data corruption or manual deletion of items have caused this issue. I'm opening a support case for this one so we can investigate your data more deeply and work on fixing it.…
-
Hi @kamuffe I'm really 😃 you found your own way to solve it Than you for sharing your solution here. It will certainly help others to move forward. See you in the next thread!