Can Bamboo run in standalone, solitary on manual mode?

We are looking for having Bamboo run in a standalone mode, disconnected from a source control program (such as BitBucket). Is this possible ?

We would need for that something like : 

  • The possibility to set triggers that would simply have Bamboo to build a predefined plan (located in its specific directory). File updates in this directory would be manual (script for instance).

Thanks!

1 answer

1 accepted

0 votes

Good question, that's indeed not obvious when reading about Configuring plans, where Linking to source code repositories seems to be a required step, even though using Bamboo without a source code repository is no problem at all - somewhat counter intuitively, you still need to select 'Link new repository', but with a repository type 'None':

image2016-11-28 19:33:59.png

 

Of course, you'd need to transfer files required for the build (if any) to your working directory by other means, as you already stated.

As for triggers, I'm afraid that (to my knowledge) what you seem to be looking for isn't available, insofar Bamboo is only able to conditionally run the build based on whether files have changed when using a repository type that implements applicable repository interfaces for change detection etc. - accordingly, you'd need to resort to triggering a build from the context that performs the file upload, be it manually or automated.

  • In other words, implementing a repository type that watches a file system for changes seems possible, but I'm not aware of an existing implementation.

 

 

Thank you Steffen,

Yes I saw this "None" option available for selection. Now the following question would be: how to trigger the build then? Should we use the CLI plugin to manually queue and launch builds through batch files? Is there any "directory polling" available from the GUI we could use (Bamboo would automatically poll and look for changes in its plan directory, triggering a build?

I see, sorry for missing that important aspect - I've amended my answer accordingly, with the TL;DR being that I think you need to resort to manually queuing and launching builds indeed.

Are you by chance using AWS? We (Utoolity) are contemplating a conceptually related 'Amazon S3 repository' type so that we could add resp. triggers for AWS services that are integrated with S3 to e.g. Tasks for AWS (Bamboo) or Automation with AWS (Bamboo). Disclaimer: While I'm highly interested to tackle this soon, I'm admittedly having a hard time to justify the considerable effort at this point, so I'm mostly gauging interest here ;)

Thank you Steffen, 

We are not on AWS, we are trying to create some sort of local build machine and use Bamboo for that. Files to build would not always come from BitBucket, therefore the need to look for some other solution. I'll test the solution through command line scripts. I'll share to results so that the the Atlassian community can benefit from this experience.

 

You can configure bamboo plan with cron schedule (Triggers -> Scheduled) which will look at folder content and if required - trigger another plan via REST call - https://docs.atlassian.com/bamboo/REST/5.14.1/#d2e1551

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,066 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot