youngmon/atlassian-qna huggingface dataset:
Backing up or exporting content and files from Trello
Asked by Andrea Thompson:

Hello,

We are using Trello as our primary departmental project management tool in a busy, university marketing department. We have print and digital projects and have been uploading our design elements and files to cards.

The other day someone in the department asked us where all those files are stored and how secure they are. I gave them my finest deer-in-the-headlights look.

So where are the files stored? What would happen to the files (crossing all crossables that this never happens) if Trello went away? Should we be saving these files elsewhere? Can we download our information from Trello somehow?

Any insight and assistance would be greatly appreciatted.

Thanks!


Answers:
author: Monique vdB
body: [@Andrea Thompson](/t5/user/viewprofilepage/user-id/5058219) for data storage and security, [this page might be helpfu](https://trello.com/en/legal/security)l!
> All user content is stored within US regions of AWS. Trello's production environment is hosted on an AWS EC2 platform. User content can also be found in Trello backups, stored in AWS EC2, S3, and Glacier.

comments: author: Brittany Joiner
body: [@Monique vdB](/t5/user/viewprofilepage/user-id/786286) ah! good to know! Thanks!


author: Brittany Joiner
body: [@Andrea Thompson](/t5/user/viewprofilepage/user-id/5058219) welcome to the community!! so i can't actually answer the question about where they're stored... I'm not entirely sure haha. [@Alex _ Trello](/t5/user/viewprofilepage/user-id/4469170) might have an idea?

But as far as backing up, you can use the [Backups for Trello Power-Up](https://trello.com/power-ups/5f68db5b510db84238769710/backups-for-trello), which is built by Rewind and backs up all your content on their servers! It's actually a really nice power-up because although Trello is very secure and you're very unlikely to wake up and Trello be gone, sometimes you might have people make changes in your board inadvertently and if you don't know what's been done but you just know it's not right, you can "rewind" to a previous date in your Trello boards. Basically a big undo but for any Trell-uh-ohs!

comments: author: Andrea Thompson
body: Oooo, a rewind sounds great! Thanks so much for the quick response, too!

Definitely going to look into that Power-Up!

Thank you so much!


author: Brittany Joiner
body: [@Andrea Thompson](/t5/user/viewprofilepage/user-id/5058219) happy to help!


author: Alex W
body: Sorry for not answering everyone! [@Monique vdB](/t5/user/viewprofilepage/user-id/786286) nailed it above re: where Trello data is stored.


author: Mike Holt
body: Is there another version of Trello that does a full backup?
If one job fails in a stage Bamboo should fail the entire build
Asked by John Bowker:

Is there a setting in Bamboo that will check if 1 job fails in a stage to stop and fail the build?

I know there is an method in the REST service to kill a plan however I would need to set something up to monitor the build and fail the build if a job fails.


Answers:
author: Przemek Bruski
body: One failed job does fail the build. Do you mean it should cancel the build?

comments: author: John Bowker
body: Yes, we have one project that uses multiple remote agents during a stage and to save time it would be great if there was a setting that could cancel the build if one job fails.


author: Przemek Bruski
body: It's not possible out of the box. You'd need to write a simple plugin that gets triggered on Job completion and kills other Jobs.


Tags: build

error
how to run sub suites of tests on branches from single git repo
Asked by Jennifer Langdon:

we have a single git repo w/ a number of differing products. we would like to configure bamboo so that when a checkin happens against a branch we can run only a subset of the entire test suite against this branch. ideally, we would like to associate test suites to dirs \& run tests based on which dirs were altered. is there a way to do this using bamboo?


Answers:
author: Marcin Gardias
body: You can achive this on per-branch basis using Plan Branches and Plan variables.

Set up a Plan on your 'master' branch and define the Tasks you need. When defining test suites that should be run use a variable. e.g ${bamboo.testSuites2Run}. Set it to some reasonable default. Use "polling repository for changes" trigger.

Now create Plan Branches for each of your branches. On each Plan Brach define the variable "testSuites2Run" to a value appropriate for branch.

As for running test suites based on content of the commit: this is only possible by creating a plugin


author: Marcin Gardias
body: You can achive this on per-branch basis using Plan Branches and Plan variables.

Set up a Plan on your 'master' branch and define the Tasks you need. When defining test suites that should be run use a variable. e.g ${bamboo.testSuites2Run}. Set it to some reasonable default. Use "polling repository for changes" trigger.

Now create Plan Branches for each of your branches. On each Plan Brach define the variable "testSuites2Run" to a value appropriate for branch.

As for running test suites based on content of the commit: this is only possible by creating a plugin
Deploy from Command Line Through Bamboo
Asked by Matt Clarkson:

We have a python build environment. I would like to be able to perform the following

waf deploy --version=1.3.0

I have already integrated with the Atlassian RESTful API. I am wondering what APIs would be of interest to me.

I would basically like the following to happen:

```
waf deploy --version=1.3.0 - check 1.3.0 is a valid version in JIRA - release 1.3.0 pending a Bamboo build for the project - wait until the Bamboo build completes - report the success of failure of the release
```


Answers:
author: Bob Swift (personal)
body: [Atlassian Command Line Interface](https://bobswift.atlassian.net/wiki/display/ACLI) has actions for this - [getVersion](https://bobswift.atlassian.net/wiki/display/JCLI/Documentation#Documentation-getVersion) and [queueBuild](https://bobswift.atlassian.net/wiki/display/BCLI/Documentation#Documentation-queueBuild) (with a wait option):

1. jira --action getVersion --project xxx --version 1.3.0
2. bamboo --action queueBuild --build "XXX-DEF" --wait

comments: author: Matt Clarkson
body: Or has that gone private now, you're running up a business?


author: Matt Clarkson
body: Brilliant. Thanks Bob. Do you have the link to the CLI repo on bitbucket?


author: Bob Swift (personal)
body: Yes, on bitbucket, but private now ;).


author: Matt Clarkson
body: Makes sense. Good luck with the new company!!


Tags: cloud

integration
Integrate Bamboo with Bitbucket issues?
Asked by Tony Arnold:

Is it possible to integrate Bamboo with Bitbucket issues in a similar manner to how JIRA and Bamboo can be integrated?


Answers:
author: James Dumay
body: Hi Tony,

We don't have anything like that at the moment but I've [raised an improvement request](https://jira.atlassian.com/browse/BAM-12424) to track it. Make sure you vote and watch the ticket!

Thanks  
James


Tags: bitbucket-cloud

cloud

integration
Bamboo SSH Task - Is there a possible way to add -t for ssh remote connection
Asked by Pason Hu:

Hi :

Recently I'm using Bamboo SSH task to handle some jobs related with deployment in remote server, however, there's some commands need sudo permission in my shell script, just like "sudo pkgadd", as I add it as a Bamboo SSH Task and run it, in the log I saw there's an error indicated "ssh no tty present and no askpass program specified", as I googled solution, I found add -t parameter when we setup ssh connection could resolve this problem, so Just want to know is there anyway we can define these params like "-t" in Bamboo SSH Task ?

Thanks

Pason


Answers:
author: The dude
body: Requiretty is a security measure. Also having to modify each server's config is less than ideal. When will we be able to specify params to ssh?

comments: author: Todd Rinaldo
body: Also I need to be able to run tests in the remote SSH with access to TTY.


author: Przemek Bruski
body: If you run this:

sudo sed -i s/.\*requiretty.\*// /etc/sudoers

on the destination machine, you won't need a TTY to log in.

comments: author: Richard Cross
body: That's quite a cavalier solution, and not something you can necessarily do in production environments with tight security restrictions.Why can this not be a simple checkbox option on the SSH Task?


author: LucasA
body: Hello,

Note that you have full SSH and root access to your AWS instance, so yes, you can perform this setting.


Tags: cloud
Bamboo Active Directory Integration issues
Asked by Edward Lai:

<https://confluence.atlassian.com/display/BAMBOO012/5.13.2+Integrating+Bamboo+with+LDAP>

I have used the above instruction info to create atlassion-user.xml. This user XML file has been tested using paddle jar tool and it worked. I have replaced the atlassian-user.xml on WEB-INF classes folder. External User Management has been disabled. I restarted Bamboo but I am still not able to see or add users from Active Directory to Bamboo groups. Why?


Answers:
author: Felipe Kraemer
body: Hi Edward,

Please note that this document you've tried to follow is for Bamboo 1.2, so it may not contain the correct instructions to integrate a newer Bamboo version with LDAP.

I'm not sure what is the version of your Bamboo instance, but this is the latest documentation available:

<https://confluence.atlassian.com/display/BAMBOO/Integrating+Bamboo+with+LDAP>

According to this document above, the atlassian-user.xml must be inside $BAMBOO-HOME/xml-data/configuration/ instead of inside WEB-INF classes folder.

Please try this and let me know if it helped.


Tags: active-directory

integration
bamboo plugin open page on the rigth of the administration view
Asked by kelebag:

hey all,

i try to open a page/view on the right of die administration view. i created a web section and a web item. Now, a click on the web item shoul open the view on the right, but with the xwork modul it opens a whole new page.

```
&lt;web-section key="mailServerConfig" name="Mailserver Configuration"		location="system.admin" weight="110" application="bamboo"&gt;		&lt;label key="Mailserver Configuration" /&gt;		&lt;!-- &lt;condition class="com.atlassian.bamboo.plugin.webfragment.conditions.UserIsAdminCondition" 			/&gt; --&gt;	&lt;/web-section&gt;Thank x		&lt;web-item key="bamboo-menu-item" name="XProduct Admin"		section="system.admin/mailServerConfig" weight="10" application="bamboo"&gt;		&lt;label key="XProduct Admin" /&gt;		&lt;link linkId="my-web-item-link"&gt;/mailserver/mailserver.action&lt;/link&gt;	&lt;/web-item&gt;		&lt;xwork key="mailServerAction" name="mailServerAction"&gt;		&lt;package name="mailserver" extends="default"&gt;			&lt;action name="mailserver" class="com.atlassian.bamboo2.printOut.MyAction"&gt;				&lt;result name="success" type="freemarker"&gt;/admin.ftl&lt;/result&gt;			&lt;/action&gt;		&lt;/package&gt;	&lt;/xwork&gt;
```

thanks!


Answers:
author: kelebag
body: Answer:

In the head of the ftl file wich is opening via xwork:

\<head\>  
\<title\>\</title\>  
\<meta name="decorator" content="atl.admin" /\>   
\</head\>


author: kelebag
body: does nobody knows how it works?


Tags: administration

bamboo-app

web

web-item

xwork
Bamboo remote agent build fails with JAVA exception.
Asked by mala lahon:

My Bamboo remote agent is running in CentOS 64 bit. While executing the build for remote agent it fails with the following exception:

Starting to build 'ABCDEF-Remote - Remote Agent'

... running command line: /usr/bin/ant -f /home/user/bamboo-agent-home/xml-data/build-dir/ABCDEF-REMOTE/protected/tests/build.xml build

... in : /home/user/bamboo-agent-home/xml-data/build-dir/ABCDEF-REMOTE

... using java.home: /usr

... using extra environment variables: ANT_HOME=/usr/share/ant

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher

Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher

at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

Could not find the main class: org.apache.tools.ant.launch.Launcher. Program will exit.

If I execute the remote agent command line directly in a shell on the CentOS machine running remote bamboo agent

/usr/bin/ant -f /home/user/bamboo-agent-home/xml-data/build-dir/ABCDEF-REMOTE/protected/tests/build.xml build,

the build works fine. Bamboo server is running in Windows server 32bit. Any pointer will be appreciated.

Thanks


Answers:
author: mala lahon
body: I am thinking perhpas I should send the build command to bamboo remote agent as a shell command:

/bin/sh /usr/bin/ant -f /home/user/bamboo-agent-home/xml-data/build-dir/ABCDEF-REMOTE/protected/tests/build.xml build

At present Ant builder path for this remote agent is /usr .

Thx


author: Przemek Bruski
body: If you run

export ANT_HOME=/usr/share/ant

/usr/bin/ant -f /home/user/bamboo-agent-home/xml-data/build-dir/ABCDEF-REMOTE/protected/tests/build.xml build

Does it still work?

comments: author: mala lahon
body: Hi,

Thanks for your response.

As mentioned I can execute the above command locally in the CentOs machine running Bamboo remote agent and it runs fine.

In the remote agent machine

echo $ANT_HOME

/usr/share/ant

Issue here is when a build is triggered from the Bamboo server to the remote agent
Plan variables not displayed
Asked by Nicholas Beenham:

If you do not define the value in a key value pair then the variable is not displayed, it is also not editable, requiring the plan to be deleted and recreated.

Attached Screenshot of issue


Answers:
author: Giuliano C.
body: Hi Nick,

Sorry that you were experiencing this issue. Looking through [BSP-8589](https://support.atlassian.com/browse/BSP-8589) it seem that you've found the fix for it. If it's not the case, feel free to comment about it.

All the best,

Giuliano Tenedini
What are the impacts to the existing users created in the Bamboo internal user directory when you repoint Bamboo to use Crowd
Asked by Shane Parkinson:

We have a Bamboo Instance which uses the internal User Management System. We now want to migrate this to use Crowd but we are not sure what will happen to the existing user accounts which exist in the local bamaboo user directory.

We followed the convention of creating users in Bamboo using their windows AD usernames. These are also what Crowd uses in out crowd configuration. The end result is we'll have duplicate usernames in both crowd directories and in Bamboo's Internal user directory.

What is the best way to switch across to using Crowd without getting into the situation where duplicate usernames are causing access issues to Bamboo

<br />


Answers:
author: Sultan Maiyaki
body: I believe you will not have problem with this configuration since the users in crowd and internal uses the same username. Basically when you use the crowd directory for user management, the internal users are automatically ignored by the Bamboo server. In effect, crowd directory can not be used in conjunction with any other directory. Having said that, the internal users are not deleted from the database but kept in the table "users" which is inactivated when crowd is the user management medium.

One problem you might face is when the users in internal directory have different group membership compared to the crowd. In which casee, you will have to do some manual mapping between users and the groups.

Hope that helps :

Regards,

Sultan


Tags: crowd

user-management
Does bamboo disable the GPU/rendering when running commands?
Asked by AmitB:

I am running unit tests in bamboo as a C++ exe in a script configuration. I added GPU/rendering capabilities to my tests, and they are always crashing in bamboo. If I log into the server directly (not as remote desktop), the tests run fine. Is this a limitation of Bamboo? Any workarounds?


Answers:
author: AmitB
body: Looks like the solution is to use a Quadro 4000 or tesla gpu, as they can run rendering tasks in a remote desktop enviroment.


author: LucasA
body: Are you trying to make use of a generic OpenCL supported card or some specific sollution (nVidia Fermi for example)? Note that if you are using a generic card and making no use of CUDA framework (assuming that you are using a nVdia solution), you'll need to load the GPU driver and all the necessary drivers, since remote agent will not open a graphical session, the GPU will not be used. Refer to the solution provider manual and try to reproduce your plan without Bamboo. If you check all the steps and still not work with Bamboo, please raise a support ticket at [http://support.atlassian.com](http://support.atlassian.com.).

Lucas Lima

Atlassian Support

comments: author: AmitB
body: I am using CUDA, and the code is running fine when I run locally on the server. I am also using OpenGL for offline rendering, then passing on the data to CUDA for processing. Could the problem be related to OpenGL?

I only get the error when running in Bamboo. Do I need to do something extra for CUDA in order to enable the GPU via CUDA?

Is there a way to force loading of necessary display drivers?


author: Przemek Bruski
body: If your tests require acces to GUI in any way, you need to configure autologin for you agent. See here:

<https://confluence.atlassian.com/display/BAMBOO/Creating+a+custom+elastic+image+-+Windows> , I think the folded section about "not headless" builds applies to your case.

comments: author: AmitB
body: They don't require GUI, but access to GPU for **offline** rendering (OpenGL). I followed your instructions, but I still get a crash when attempting to access the GPU.


Tags: unit-test
How can I make the repository trigger the build when code is committed?
Asked by Umais Asghar:

I have created a build task and configured the trigger type but it does not seem to work. On internet, I saw something like configuring SVN repository with some post-commit command. I'm using Bamboo server 4.3 on Windows; please let me know how to make it work. I use Subversion.


Answers:
author: PiotrA
body: Hi umais,

Can you tell me if this: <https://confluence.atlassian.com/display/BAMBOO/Repository+triggers+the+build+when+changes+are+committed> document helps solving your issue? It would seem to me it contains necessary hints to set up SVN repository triggering Bamboo plan... Can you try it?

comments: author: PiotrA
body: glad to see it helped :)
How to start Bamboo at boot time (upstart) on Ubuntu?
Asked by Moshe Tal:

I especially interested in solution for Dragon's slayer installation.

I tried the solution from here:

<https://confluence.atlassian.com/display/BAMBOO/Bamboo+installation+guide+for+Linux?focusedCommentId=310378744#comment-310378744>

But this caused the whole system to stop working.

I found some solutions for other Linux distributions making use of chkconfig

<http://blog.iphoting.com/blog/2012/05/02/continuous-integration-with-bamboo-on-linux/>

<http://blog.bitcab.com/2010/02/auto-start-atlassian-bamboo-on-centos.html>

But these solutions are not good for Ubuntu that lack the chkconfig.


Answers:
author: Mudassar Mughal
body: removed spam

comments: author: Ed Gow
body: Moderator please flag this post and the previous one. Both are spam with links to unrelated sites. Info about upstart in the text is useless cut-paste of man page.

BTW, isn't anyone from Atlassian going to address the problem of starting Bamboo with upstart?


author: umair fsd
body: removed spam


author: Bruna Griebeler
body: Since Ubuntu starts on Level 2, you can just create a symbolic link to the bamboo start script.

Example:

ln -s \<bamboo-install\>/.../bamboo.sh /etc/rc2.d/S99bamboo

This will make the script run on level 2.

Hope it helps!

comments: author: Ed Gow
body: This is not a suitable solution for the many Linux systems that have adopted upstart for their service management. Normally it woudl be a simple matter to create a .conf file for Bamboo in upstart. The problem is that the startup scripts for Bamboo don't fork in anything like the normal daemon style that upstart expects. Could Atlassian see its way clear to make Bamboo startup behave normally so that it will work with the standard service control mechanisms in modern Linux systems?
How do I add users to Crowd Groups from a Delegated Authentication Directory?
Asked by Nicholas Beenham:

What I'm trying to accomplish is have authentication managed by Active Directory and Authorization managed by crowd.

So when I user authenticates into Bamboo using their AD credentials the authorization piece is managed by crowd and depending on the crowd group assignments determines the level of permissions.

Is this possible? I'd like to start by defining the bamboo-admin group in the crowd internal directory and then have users added from the external delegated authentication directory.

Thanks in advance


Answers:
author: LuizA
body: Hello Nick,

First of all you need to add an user's directory in Crowd (your AD) and then you need to configure the Crowd's directories, groups and users for Bamboo as described below:

<https://confluence.atlassian.com/display/CROWD/Integrating+Crowd+with+Atlassian+Bamboo#IntegratingCrowdwithAtlassianBamboo-1.1PrepareCrowd%27sDirectories/Groups/UsersforBamboo>

I hope this helps, if possible please check the whole article to have a better idea about this integration with Bamboo.

Best Regards,

LJ.


Tags: crowd

user-management
Inherited variable values
Asked by Alessio Caprari:

I have a task executing a script which takes the value of ${bamboo.repository.branch.name} as argument.

Sometimes we want to override this value using a custom one. So I thinked to a variable named 'custom_branch' to be used as argument, but I don't know how to use ${bamboo.repository.branch.name} as a default when no value for 'custom_branch' has been provided.

I tried using exactly ${bamboo.repository.branch.name} as the value of 'custom_branch', but it was used literally.

Is there a way to use this kind of inherited values for variables?


Answers:
author: Alessio Caprari
body: I found my use case is not supported yet, but there is a feature request for it:

<https://jira.atlassian.com/browse/BAM-8266>


author: ArmenA
body: Hi Alessio,  

Thank you for contacting Atlassian support. If you are going to use the variables in a script task, then you can manually check the content of custom_branch variable (${bamboo.custom_branch}) by using a conditional statement. If you want to use that variable somewhere else (like in the argument field in your specific case), then Bamboo doesn't have such a capability to check the variables and decide which one to use.   

We are tracking this [new feature request](https://jira.atlassian.com/browse/BAM-11257) to which you can add yourself as a watcher, vote or comment. Do you have any further questions or concerns?

Cheers,  
Armen


Tags: variable
Inline script in Bamboo
Asked by Nick Beagley:

How do I enable my Bamboo elastic instances to be capable of running an inline script? I have a stage in my plan which I am testing out the 'Script' task with an inline script. I am just trying to test with a really simle 'ls -la' or some other bash script, however everytime i click save i get the following:

No agents meet the Job's requirements. This Job cannot be built in the Elastic Cloud.

<br />

I assume i am missing something simple, as we are using out of the box elastic ec2 images.


Answers:
author: Nick Beagley
body: An l-user issue around requirements in the source checkout. A blank job with a simple script works fine


Tags: cloud