youngmon/atlassian-qna huggingface dataset:
?C?mo puedo abandonar un tablero, que esta dentro de mi espacio de trabajo?
Asked by Vanesa Aranda:

Quisiera abandonar un tablero, y no se como realizarlo.


Answers:
author: Lam
body: Hi [@Vanesa Aranda](/t5/user/viewprofilepage/user-id/5447485) - Thanks for reaching out to the Community! You can leave a Board by clicking into the board menu (...) then selecting 'Leave Board'.

Check out this guide with images on how to leave a Board: <https://support.atlassian.com/trello/docs/leaving-a-board-in-trello/>
No response from support?
Asked by Chelsea Ray:

I opened a ticket a week ago and no one has responded. There's no other way to contact support. This is ridiculous. Anyone have any tricks to get a response?


Answers:
author: Lam
body: Hi [@Chelsea Ray](/t5/user/viewprofilepage/user-id/5472464) - Lam here from the Trello team. We're experiencing a larger than usual volume of tickets at the moment and it's taking longer to back to our tickets. Please bear with us while we work through them.

In saying that I can check on your ticket status, would you mind sharing the 'key' to your ticket? You can find this at the end of your ticket number and will look similar to this 'TRELLO-XXXXXX'
After completing installation step in OSX, launching web page give endless looping icon
Asked by Alain Lowet:

After completing installation step in OSX:

./bin/start-bamboo.sh start the tomcat server correctly

Accessing <http://localhost:8085/> give the first bamboo page, but the looping icon is endless and I can't go further in the configuration


Answers:
author: Daniel Santos
body: Hi [@Alain Lowet](/t5/user/viewprofilepage/user-id/3686565)

Depending on which moment of the wizard this issue appears it could have a different cause. These are the things I would check first:

1. Is the JDK the correct version. For newer versions of Bamboo, you need the 1.8 as stated in [Supported platforms - Atlassian Documentation.](https://confluence.atlassian.com/bamboo/supported-platforms-289276764.html) Please make sure you have the variable JAVA_HOME declared as well.
2. If the JDK is not the problem, please check the following log file:  
   **\<Bamboo_Home\>/logs/atlassian-bamboo.log** It might be the case that a wrong database configuration triggered this issue as well.

Please share your findings here. =\]
how to run Bamboo deployment project on schedule to deploy specific release and not recent build
Asked by Leon Shaw:

I have setup a trigger to run each day at the same time. I've set it to deploy using a branch. No matter what I do it will only run the most recent build and disregards the branch I've told it to use. I need to be able and set a specific branch to run.


Answers:
author: Lenin Raj
body: Hi [@Leon Shaw](/t5/user/viewprofilepage/user-id/3650843)

Have you tried creating a branch plan and running the build from that plan?
Build Trigger details in case of multiple Repository
Asked by sudswastik:

In my plan there are multiple repository , the build will have multiple task for each repository (Artifact creation). Trigger the build in case of any commit in a repository is easy but is there any way that I can get, which repository and branch triggered the build so that i can use some sort of condition to skip the task for( Artifact creation) for those repository, where no changes have been commited. I am trying to the use the conditional plugin to skip the task from running if i get the get the details from trigger.


Answers:
author: Daniel Santos
body: Hi [@sudswastik](/t5/user/viewprofilepage/user-id/3684795)

What you are trying to achieve is hard to do in Bamboo, but I'll share the information I have in case it helps you moving forward.

<br />

To check which plan triggered the build you will need to compare the following variables:

* **bamboo_planRepository_#_revision**
* **bamboo_planRepository_#_previousRevision**

There is a Community post with an example of a possible approach to compare those variables on a "Unix like" agent:

* [Determine which Repo triggered a build - Atlassian Community](https://community.atlassian.com/t5/Bamboo-questions/Determine-which-Repo-triggered-a-build/qaq-p/1108462?utm_source=atlcomm&utm_medium=email&utm_campaign=immediate_general_reply&utm_content=topic)

The problem is, when you have this information, you can't use it as a source informaion for the [Conditional tasks for Bamboo](https://marketplace.atlassian.com/apps/1219706/conditional-tasks-for-bamboo?hosting=server&tab=overview) plugin. That is because it only accepts default Bamboo variables. If you discover which repository triggered the plan by using a script task (as suggested in the above post), you won't be able to use this information to avoid the task from running.

I opened a feature request to help us with this scenario in the future:

* [\[BAM-20760\] Add a new variable that tells us which repository triggered the build (used when a plan has multiple repos)](https://jira.atlassian.com/browse/BAM-20760)

**Possible approach**

You could use the script to compare the Bamboo variables and then inject a new variable in your build that would tell you which repository triggered the build

To follow this idea you would need to configure your artifact creation on a script task and check the variable you injected (with the repo trigger information) to decide if you should run the commands or not on your script.

**Note**

There is another feature request that might interest you:

* [\[BAM-11257\] Conditional build step depending on value (or existence) of variable](https://jira.atlassian.com/browse/BAM-11257?jql=project%20%3DBamboo%20%20and%20text~%22inject%20variables%20conditional%20tasks%22%20order%20by%20createdDate)

<br />

I encourage you to vote in both feature requests shared in this answer. They both could potentially help you and other customers facing similar needs.

I hope that helps! =\]


Tags: build

repository

trigger
How to make job conditional
Asked by Thorbj?rn Olesen:

How can I make a job conditional to depend on some plan variable?

I am currently using the [Conditional Tasks app](https://marketplace.atlassian.com/apps/1219706/conditional-tasks-for-bamboo) and it works fine. I can use this as a workaround by to skip all tasks of a job by making each task conditional, but this is tedious and error prone. Furthermore, this workaround requires a free build agent to pick up the job and process it, only to find out it potentially can skip all the tasks.

I cannot use job capability requirements for this purpose, as the condition is based on plan variables.

I imagine such functionality would require a the creation of a new "*Conditional Jobs*" app, where the server itself would be responsible for evaluating the condition?


Answers:
author: Alexey Chystoprudov
body: There's no possibility to mark Job conditional but Conditional Tasks app contains special Task Stop job which can be ... conditional. It was designed exactly for your usecase. Put it as first task of your job and let condition decide if you need to run rest of it.

It still requires agent to run it :(
How to run ansible-playbook
Asked by Karol Urbaniak:

Hi,

I have newly installed Bamboo server. It has been integrated with BitBucket. On Bitbucket I have a lot of ansible playbooks to manage various application server on RHEL and W2k6. To run them on daily basis I use Jenkins.

How can I do it on Bamboo?

Regards

Karol


Answers:
author: Daniel Santos
body: Hi [@Karol Urbaniak](/t5/user/viewprofilepage/user-id/2672548)

First of all, I need to share that I don't know that much about Ansible.   
I know is that Bamboo does not have any native task for it and In case you don't want to try an extra plugin you would need a script task with the right sequence of commands to build and deploy your projects.

In case you want to try a plugin, I found this one in our Marketplace that should probably help:

* [Ansible Deploy for Bamboo \| Atlassian Marketplace](https://marketplace.atlassian.com/apps/1215471/ansible-deploy-for-bamboo?hosting=server&tab=overview)

I hope that helps.

comments: author: Anne Cloutier
body: This does not help.   
I tried the plugin and script task and nothing is working.


author: Daniel Santos
body: Hi [@Anne Cloutier](/t5/user/viewprofilepage/user-id/3878096),   
as I mentioned above, I don't know much about Ansible. I'd suggest you contacting the [plugin vendor](https://marketplace.atlassian.com/apps/1215471/ansible-deploy-for-bamboo?hosting=server&tab=support). Or even checking forums specifically related to Ansible.


Tags: ansible

bitbucket

team-playbook
How to get issue key from commit message?
Asked by metinbulak:

hi

I have developed bamboo plugin. I want to get issue key from commit message.

I get more issue key like abc-324, test-567, w-32

I only want to get one issue key which has issue in jira

so I want to request this issue key to jira and find jira has this issue with key.

How can I code this method like: (any method, package or api)

public boolean findIssueWithKeyInJira(String key){

// request to jira and find issue

// if issue is found return true

// else return false

return null;

}

My regex pattern is :

public static final String ISSUE_REGEX_PATTERN = "(\[A-Z\]\[A-Z0-9\]+-\[0-9\]+)";

public static String getIssuesInCommits(List\<CommitContext\> commitContexts) {  
StringBuilder stringBuilder = null;  
Set\<String\> issueKeySet = new HashSet\<\>();

try {

for (CommitContext commitContext : commitContexts) {  
String commitMessage = commitContext.getComment();  
Pattern pattern = Pattern.compile(ISSUE_REGEX_PATTERN);  
if (commitMessage.trim().equals("")) {  
continue;  
}  
Matcher issueMatcher = pattern.matcher(commitMessage);  
while (issueMatcher.find()) {  
issueKeySet.add(issueMatcher.group());  
}

}

if (!issueKeySet.isEmpty()) {  
stringBuilder = new StringBuilder();  
for (String issueKey : issueKeySet) {  
stringBuilder.append(issueKey).append(",");  
}  
stringBuilder.setLength(stringBuilder.toString().length() - 1);  
}

} catch (Exception e) {  
stringBuilder = null;  
}  
return stringBuilder == null ? null : stringBuilder.toString();  
}


Answers:
author: Daniel Santos
body: Hey [@metinbulak](/t5/user/viewprofilepage/user-id/3173302)

This forum is not the best channel for development questions.  

I would encourage you to post the same question at [https://community.developer.atlassian.com/c/bamboo-development.](https://community.developer.atlassian.com/c/bamboo-development)

There you are more likely to reach Atlassian developers and other plugin developers which should have more background to support you.  

I hope you get your answer soon from them.


Tags: app

jira
Add repository gives an error
Asked by manoj reddy:

Hello,

I am getting the error while adding repository.

Below is the error.

* New access key is required but could not be added to Bitbucket Server.
* com.atlassian.bamboo.executor.CancelException: /usr/local/git/bin/git could not be started: command \[/usr/local/git/bin/git version\] failed with code -1. Working directory was \[/\]. \[\]

Can anyone help.

Thank You!!

Regards,

Manoj


Answers:
author: Daniel Santos
body: Hey [@manoj reddy](/t5/user/viewprofilepage/user-id/3672310)

It seems that you have a git capability issue there.  
It could be that your git command is not available in that location (/usr/local/git/bin/git) of that the user running Bamboo is not able to access that path.

There is a document about that that I suggest you review:

* [Command was canceled: command git failed with code -1 - Atlassian Documentation](https://confluence.atlassian.com/bamkb/command-was-canceled-command-git-failed-with-code-1-859530122.html)

Please check the resolution steps shared in that link and try to share here the results you get.
Can't Create Application Link
Asked by Yusuf Limalia:

I currently have a server running docker with the following containers:

Jira  
Confluence  
BitBucket

They sit behind an nginx reverse proxy for security reasons. I've just installed Bamboo server but am struggling to get the Application Links working from Bamboo to any of the other applications.

The error is Invalid OAuth Signature.

The only difference between the Bamboo container and all the other ones is that the Bamboo doesn't require definition of the variables used by all the other containers such as:

`ATL_PROXY_NAME`  
`ATL_PROXY_PORT`  
`ATL_TOMCAT_PORT`  
`ATL_TOMCAT_SCHEME`  
`ATL_TOMCAT_SECURE`  
`ATL_TOMCAT_CONTEXTPATH`

`Any clues as to why this may not be working?`


Answers:
author: Yusuf Limalia
body: ![Untitled.png](https://community.atlassian.com/t5/image/serverpage/image-id/76638i554DC402ABABDC10/image-size/large?v=v2&px=999 "Untitled.png")

Well - Should have read the full docker hub page before wasting money on this :/
Username and Password exposed in Bamboo
Asked by Rainielle Maglaya:

I noticed that my username AND password are exposed in bamboo

![exposed.png](/t5/image/serverpage/image-id/76611i22FDF65B57CD2715/image-size/large?v=v2&px=999 "exposed.png")


Answers:
author: Alexey Chystoprudov
body: I would suggest to create support request to investigate the reason
Why do i need an eval around a subshell script?
Asked by jason apple:

I'm using the ECR credentials task, and have written a small script to push a docker image to ecr. for some reason, the below command is not successful unless i wrap it in an eval.

$(aws ecr get-login --no-include-email).

eval $(aws ecr get-login --no-include-email) --- works

The examples i read for ecr did not include this. I'm ok with it if that's how it has to work, just not entirely clear why.


Answers:
author: Steffen Opel _Utoolity_
body: Hi Jason, welcome to the community!  

I'm not exactly a shell expert myself, so please allow me to postpone looking into your actual question in favor of an upfront clarification:  

When you say you are 'using the ECR credentials task', do you in fact mean our [Amazon ECR Credentials Variables task](https://utoolity.atlassian.net/wiki/spaces/IFAWS/pages/63143974/Using+the+Amazon+ECR+Credentials+Variables+task+in+Bamboo), or just a regular Bamboo [Script task](https://confluence.atlassian.com/bamboo/script-289277046.html) to get the credentials solely via the AWS CLI as outlined in your question?  

Cheers,  
Steffen

comments: author: jason apple
body: In this case, i'm getting the credentials myself. I am using the credentials task in other scenarios, just not this one.

If you were in a shell, and just typed what i had without eval, it would work. It's not a big deal, just trying to understand why.


Tags: addon-net.utoolity.atlassian.bamboo.identity-federation-for-aws-bamboo

docker
ssh connection to amazon EC2 instance is timed out
Asked by Paridhi.Jain:

I'm facing an issue where ssh connection to amazon EC2 can not be made. In my case I want to ssh to one of my EC2 instances on aws from Bamboo's local agent. Both are inside the same VPC. I can ssh to my EC2, if I'm logged into Bamboo's local agent. But, I want to achieve the same using ssh task in Bamboo. It tried for 2 minutes and gives me an error - "Can not connect to the host". What could be the problem here?


Answers:
author: Daniel Santos
body: Hi [@Paridhi.Jain](/t5/user/viewprofilepage/user-id/2642342)

I would try to isolate the problem by checking what is different between you connecting from the agent manually and Bamboo doing it with an SSH task.

* Would you mind trying to connect with EC2 but at this time using a script task?
* Is the remote agent running with the same user you were when connecting to the EC2 instance?
* Is the remote agent able to resolve the hostname used?
* Can you share the build log lines related to this error?

comments: author: Paridhi.Jain
body: [@Daniel Santos](/t5/user/viewprofilepage/user-id/3545008)

Thank you so much for your response.

The problem got resolved by updating the inbound rules in the security group for my Amazon EC2. I added a rule for ssh (port-22). I'm still wondering how was I able to ssh from the bamboo's local agent earlier when the ssh rule wasn't there in the security group.


author: Daniel Santos
body: That is a good question... I'm not sure If I can help you to understand the why =/  
But I'm glad that you found out how to solve the issue and things are working now

=\]
Bamboo | Selenium | Tests with TestNg @Test are getting skipped on execution
Asked by rahul rana:

Hi,

I have configured a Maven.3 Job in Bamboo and facing issue when executing mvn clean test-

All the [@techoneway](/t5/user/viewprofilepage/user-id/33374) are getting skipped.

Only @BeforeClass, @BeforeSuite, @AfterClass, @AfterSuite are getting executed properly.

Am i Missing anything here ? :\|

Kindly help.

Regards,

Rahul Rana


Answers:
author: Cristiano Mariano
body: Hi! How are you doing?

I had some issues like that and they were related to naming conventions.

I had to change method names to start with test (e.g. **test**MethodX).

Another thing to look would be the name of the test classes. According to surefire (that is called by maven to run the tests) documentation:
> By default, the Surefire Plugin will automatically include all test classes with the following wildcard patterns:

*
  > "\*\*/Test\*.java" - includes all of its subdirectories and all java filenames that start with "Test".
*
  > "\*\*/\*Test.java" - includes all of its subdirectories and all java filenames that end with "Test".
*
  > "\*\*/\*TestCase.java" - includes all of its subdirectories and all java filenames that end with "TestCase".

At last I would check whether test methods are public.

Hope this helps!


author: Daniel Santos
body: Hi [@rahul rana](/t5/user/viewprofilepage/user-id/3675914)

<br />

The Maven task a wrapper that will call mvn with the parameters provided there.

Would you mind checking if this problem is still happening when you run mvn from the terminal?  
What I'm trying to achieve with the above question is to isolate the problem identifying where the source of it is located. Let see if a similar behavior will happen.  

<br />
Error Too many files in zip
Asked by Christopher_pieratt:

I'm running my build and getting this error. The package is big, how do I get past this limitation?


Answers:
author: Daniel Santos
body: Hi [@Christopher_pieratt](/t5/user/viewprofilepage/user-id/3675950)

At first glance, I would say this problem is caused by a limitation in the zip tool you are using, but it could be part of one of the Bamboo features and not an external tool. To investigate that better, could you please answer the questions below:

* In which part of the build you are experiencing this problem?
* Are you using any script task with a zip command from your terminal?
* What is the operating system where Bamboo is hosted?
* Can you share the full logline where this error occurs?

Those extra details will be very useful to help us narrow down this issue.
Bamboo build failed
Asked by hari:

Hi all,

I'm new to use bamboo. We have some BDD tests and run in bamboo, the build fails while running one of the test, bamboo build fails with a java exception a below.

```
java.lang.IllegalStateException: java.io.InterruptedIOException

```

Is there a way in bamboo that the build wouldn't be marked as fail as a whole and still continue executing the remaining tests in that BDD test file. Any inptus would be really appreciated. thanks in advance!


Answers:
author: Jimmy Seddon
body: Hi [@hari](/t5/user/viewprofilepage/user-id/3675212),

Welcome to the Community!

Most people would want execution to stop the moment a failure like this is identified. The only way I can think that you would be able to accomplish what you are doing is the have your tests wrapped in a try/catch and you simply ignore and exceptions and continue. The only thing I would caution here is that you might end up with people thinking a build is acceptable to use when in reality it isn't if it failed some tests.

I hope that helps!

-Jimmy

comments: author: hari
body: yes, that helps, thank you!

I'd totally agree that it would be always better the build fails else it might not be identified that the test failed.

Re-thought about the problem and currently it takes about 20-30 mins to fail the build. I can configure the hanging build event by setting a log quiet time of say 5 minutes (reference - <https://confluence.atlassian.com/bamboo/configuring-the-hanging-build-event-289277188.html>) but i have to do it in for the whole project. Is there any way that i could do it for a particular file in the project that the bamboo builds on? Instead of the whole project?

Regards,

Hari.
Where do I get the bamboo binary?
Asked by Janina Segura:

```
DearWhere do I get the Bamboo installer binary?For example I have Jira's, but I'm missing Bamboo's

atlassian-jira-software-8.0.2-x64.bin

Thank you, I remain attentive to your comments.
```


Answers:
author: Alexis Robert
body: Hi [@Janina Segura](/t5/user/viewprofilepage/user-id/2438671) ,

you can find the Bamboo archives here : <https://www.atlassian.com/software/bamboo/download-archives>

Let me know if this helps,

--Alexis

comments: author: Janina Segura
body: ++Yes of course, check the page but if you realize there is no binary, in the case of Jira if it exists. That's why I asked if it also existed for bamboo++
Can i run 2 instances of Bamboo server in same Linux server with different ports?
Asked by Raju Adluru:

I have old version of bamboo running on this Linux server, want to install latest version of bamboo on the same with different port.

old bamboo - 5.9.7 using java 1.8.0.65

new bamboo - 6.10.4, want to install latest java for this java 1.8.0-231

can we two instances of tomcats on the same server?

can we have two java- jdks installed on the same, how to point to another java for this latest bamboo.

once latest bamboo is functional want to migrate data from old to new bamboo.

Thanks for your help.


Answers:
author: Daniel Santos
body: Hi [@Raju Adluru](/t5/user/viewprofilepage/user-id/583609)

Yes, you can =\]

First of all, both Bamboo versions should be able to use any 1.8.x Java versions.  
If you still want to keep different versions of JDK you can do it:

1. Install both JDK versions in your machine.
2. Edit the **setenv.sh** file.
3. Add both JAVA_HOME and JRE_HOME variables with the adequate path for the Java JDK you want to use.  
   e.g.   
   *JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_231.jdk/Contents/Home*   
   *JRE_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_231.jdk/Contents/Home*

Regarding the ports, they must be different.  
There are at least two ports you need to adjust (you may have more connectors), they are configured in **server.xml**:

1. server port used for shutdown (default to 8007)
2. service connector (default to 8085)

Make sure your Bamboo home is set in a different location. The Bamboo home path is configured in *\<Bamboo_Install\>/atlassian-bamboo/WEB-INF/classes/* **bamboo-init.properties.**

I hope that helps you to move forward in this migration process.

comments: author: Raju Adluru
body: Daniel

Thank you for the info.

Already figured out about the ports.

Yes, i knew for port 8085, changed it, did not knew about 8007, while starting, i got the error, changed that also. I am running 2 instances on the same server.

Thanks for JDK info, i will install new Java and update setenv.sh.


author: Daniel Santos
body: Hi [@Raju Adluru](/t5/user/viewprofilepage/user-id/583609)

That is great. Thank you for sharing!  
I glad you have the skills to find out things on your own, that is good!  
=\]