Hi,
Could you please advise me how to attach a file when triggering bamboo plan (Run Customized).
Scenario is:
We deploy bunch of applications on a WebLogic server. As part of pre-deployment preparation we generate a txt file with list of applications to be deployed. (deploy_app.txt). This is the default list file which list 50 applications.
What we would like to achieve is, when triggering bamboo plan, we would like to attach a file which subset (not all 50) of applications names (override_deploy_app.txt). If a build job finds a override file attached…job should consider override_deploy_app.txt for deployments (NOT the deploy_app.txt)
I can introduce a variable ${bamboo.varName} with comma separated values for selective deployments and do the check (if variable value is valid then override default)
But would like to know, is there a way to attach a file?
Thanks in advance
Thanks Michael for your inputs
Thanks Przemek for your suggestion, this is another way of doing it.
For my scenario, it would be easier for me to use variable
The easiest approach would be to store the file somewhere (e.g. on a http server). Then, in your build, you could download that file with wget and use for your build.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is not an answer to your question, I am simply posting to agree with your requirement. I too have a similar issue for which the ability to attach a file to a customized plan would seem to be the perfect solution.
Our scenario is that we would like for users to be able to submit large XML files (3-10 MB in size) that a custom build plan would then process. Submitting this XML as an attachment would appear to be the most natural mechanism. The XML itself describes a test scenario which the build infrastructure then goes out and executes.
We too considered the use of properties but the size of the data that users would be required to paste into the property value seems excesive.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.