Can Bamboo run in standalone, solitary on manual mode?
Asked by LUC FILION:

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!


Answers:
author: Steffen Opel _Utoolity_
body: Good question, that's indeed not obvious when reading about [Configuring plans](https://confluence.atlassian.com/bamboo/configuring-plans-289276853.html), where [Linking to source code repositories](https://confluence.atlassian.com/bamboo/linking-to-source-code-repositories-671089223.html) 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](https://docs.atlassian.com/atlassian-bamboo/latest/com/atlassian/bamboo/v2/build/repository/class-use/RepositoryV2.html#com.atlassian.bamboo.repository) 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.

[](https://community.atlassian.com/t5/Bamboo-questions/Can-Bamboo-run-in-standalone-solitary-on-manual-mode/qaq-p/326342?attachment-id=12577){#link_1166812f4ea8e8}  
[](/tnckb94959/attachments/tnckb94959/bamboo-questions/10263/1/image2016-11-28%2019%3A33%3A59.png){#display_1166812f4ea8e8_0}

comments: author: LUC FILION
body: 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?


author: Steffen Opel _Utoolity_
body: 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)](https://marketplace.atlassian.com/plugins/net.utoolity.atlassian.bamboo.tasks-for-aws/server/overview) or [Automation with AWS (Bamboo)](https://marketplace.atlassian.com/plugins/net.utoolity.atlassian.bamboo.automation-with-aws-bamboo/server/overview). 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 ;)


author: LUC FILION
body: 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.


author: Alexey Chystoprudov
body: 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>


Tags: bamboo-administration