Hot answers tagged

9 votes
Accepted

How to restrict filesystem access in Atlassian Bamboo builds?

There is currently no ability to restrict jobs which are able to run on the same agent from potentially interacting with each other. There are a bunch of feature requests asking for this sort of ...
user avatar
  • 1,634
7 votes
Accepted

Retaining at least one successful build in Bamboo

IMHO if your successful build doesn't push to an artifact repository, there's a problem in your pipeline. Jenkins or Bamboo do not aim at keeping built artifacts forever and they don't give you any ...
user avatar
  • 11.1k
6 votes
Accepted

How to not "fire and forget" when doing a remote trigger of a Jenkins build?

I've created the jenkins-remote-builder script which will follow your remote build to completion. Some more details about it (from its README.md): Example jenkins=https://user:pass@jenkins.mydomain....
user avatar
  • 309
5 votes

How to not "fire and forget" when doing a remote trigger of a Jenkins build?

When setting up the remote trigger, you have to click "Block until the remote triggered projects finish their builds."
user avatar
5 votes

Passing in a file with configuration

It is convenient to use Environment Variables to provide runtime configuration for such scripts. Especially when it contains secrets that you don't want to hold in any persistent storage or in version ...
user avatar
3 votes

Is there a reason not to use Bamboo to run repetitive tasks instead of cron?

Using task schedulers like Bamboo or Airflow have a lot of advantages over cron, particularly in their ability to recognize errors and process dependent tasks accordingly. By far the most common ...
user avatar
3 votes
Accepted

Build isolation - Docker container based builds in Bamboo 6.4.0

Yes, you are correct. Bamboo will spawn the build containers on the agent that the build is running on (either Local, Remote, or, Elastic - depending on your configuration). In order for this to work ...
user avatar
3 votes

Is it possible to design conditionally executed tasks in Bamboo?

Atlassian Labs have now provided this functionality as an add-on: https://marketplace.atlassian.com/apps/1219706/conditional-tasks-for-bamboo?hosting=server&tab=overview Only available for ...
user avatar
  • 31
3 votes
Accepted

Rerun of Bamboo jobs on commit

I think you have fundamentally misunderstood the relationship between plans, stages and jobs in bamboo. A good rule of thumb is to have a single repository of code, which is linked to a single build ...
user avatar
  • 1,634
2 votes

Is there a conceptual limitation to have a clone stage function in Bamboo?

Stages group jobs inside plans. So technically they are cloned when the respective plans are cloned. Which means that missing the ability to clone a specific stage should be just a UX/usability/...
user avatar
2 votes

CasC with Bamboo

This slide share gives an idea how to handle CasC in Bamboo. The presenter advocates to use yaml, but according to him there are also downsides.
user avatar
  • 12.6k
2 votes
Accepted

Is it possible to design conditionally executed tasks in Bamboo?

I don't know if there is some GUI way to do this I am triggering the same plan in different ways from a REST request by using a variable To do this define a variable in the plan configuration ...
user avatar
  • 285
2 votes

Is there something like Jenkins pipeline scripts for Bamboo?

I don't think Bamboo has that natively but there are plugins such as this one: (https://marketplace.atlassian.com/plugins/com.cobalt.cdpipeline.cdpipeline/server/overview). Atlassian also has a ...
user avatar
  • 141
2 votes
Accepted

Bamboo Group Deploy Projects

There is an improvement issue open for, I think, exactly what you're looking for: Bamboo should be able to group projects: Description I'm mulling over redoing our project heirarchy and ...
user avatar
2 votes

Bamboo equivalent to Jenkins color

Bamboo doesn't have a color status like Jenkins per say, but it does have a very similar build status indicated by a circle with a symbol within it. This status is available for both the entire build ...
user avatar
  • 2,993
2 votes

Is there a Radiators for Jenkins and Bamboo?

It really depends on what information you are trying to "Radiate": For an off-the-shelf solution that integrates with everything you mentioned you could check out Prometheus. It has plugins for Jira,...
user avatar
1 vote

What part of the Bamboo pipeline should generate a Docker image?

I believe both options are viable routes, but my preference is for Option 1 as I like having the "deploy plan" to be only concerned with starting a container using the built image.
user avatar
1 vote

Secure deployments of on-prem artifacts to cloud

Both Azure and AWS will have any container images built off their network pushed to their repositories using https which will encrypt the transfer (e.g. AWS ECR encryption). Both of these providers ...
user avatar
1 vote

Cross-Platform Deployment Tasks in Bamboo

There isn't a common protocol that exists on all the platforms for deployment. However, if you get an SSH server onto the windows platforms then you can use the same mechanisms in Bamboo to do the ...
user avatar
  • 111
1 vote

Dynamically change config files in c# Application based on environments(dev,QA,Prod) through Bamboo

In your deployment project configuration for each environment you could add a task prior to the actual deployment which would take care of setting up the right configuration file. It could be a ...
user avatar
1 vote

Halt execution of Bamboo build or deploy, without throwing an exception

I know that is not the clean solution everybody looks for and is a nasty workaround, but what worked for me was to squash all my deployment logic into a single Script Task (shell script) and then put ...
user avatar
1 vote

Halt execution of Bamboo build or deploy, without throwing an exception

You can manually stop a build in progress. From Stopping an active build: To stop an active plan build: Click Dashboard and then the All Plans tab. Click the 'Stop' icon next to the active plan you ...
user avatar
1 vote

Is there a reason not to use Bamboo to run repetitive tasks instead of cron?

Possible reasons for using cron over jenkins I am assuming you mean cron on a Linux system and not a Kubernetes CronJob Controller (https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/...
user avatar
  • 285
1 vote

Bamboo Group Deploy Projects

In case someone else finds this question, I thought I'd mention Favorites. You can mark certain jobs as favorites, and then have those jobs appear on your "My Bamboo"-page. That's obviously just one ...
user avatar
  • 171
1 vote
Accepted

Escaping curly braces in Bamboo

I don't know the inner of bamboo, but I assume it works like a bash script. What happens is that variables are replaced before execution, in bash that would be echo "echo $VAR" > test.sh and test....
user avatar
  • 11.1k
1 vote

How to connect a Bamboo remote agent from within Intranet

So I am assuming that 1) you have a PC on your LAN. The PC can only talk to port 80 outgoing via a proxy 2) you have a bamboo server running a cloud service 3) you wish to initiate a connection ...
user avatar
  • 285
1 vote

How to not "fire and forget" when doing a remote trigger of a Jenkins build?

If you need to trigger a job from CLI and wait for its completion you can use "Jenkins CLI" (see here). However jenkins CLI does not support promotions so for them I came up with the following script:...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible