This app comes preinstalled in Bamboo Server instances.
    by Atlassian Labsfor Bamboo Server 5.1.0 - 5.13.2 and more versions
    Versions available for Bamboo Server 4.0 - 4.4.8
    Bamboo Server 5.0 - 5.0.1
    Get it nowFree app

    Inject new Bamboo variables from a file

    Inject new Bamboo variables from a file

    Define task

    Simple variables file format

    Use variables as any Bamboo variable

    Define external file containing your variables definition and provide it in task included in your pipeline

    Simple variables file format

    Just use variables from file as any variable: ${bamboo.inject.myVariable}

    More details

    The file should be in the following format:


    Bamboo will then allow each variable to be accessed using the bamboo.inject. prefix followed by the key name. e.g. bamboo.inject.variable1

    Note: This plugin is bundled with Bamboo 5.7 and later. The plugin version published here is meant to be used only with older versions of Bamboo.

    User reviews

    Sign in to write a review
    by Ashwini More on 2016-08-25
    I am using this plug in to read data from from my project , do I need to do any script configuration?
    Was this review helpful?YesNo
    by Niall Connaughton on 2015-07-15
    We recently upgraded to Bamboo 5.8.1. It seems now that our injected variables are no longer appearing on the metadata tab of the build. I've done some simple testing and the feature is still working, the variables are still available to be used in scripts, etc. But the values are nowhere to be seen on the metadata tab for the build. Is there a way I can look at a build result and see what the values of the injected variables were for that build?
    Was this review helpful?YesNo
    by Terry Leung on 2014-10-10
    Useful Plugin, however no longer compatible with Bamboo 5.6, are we expecting to have the plug-in updated? -Thanks.
    6 out of 6 found this review helpful
    Was this review helpful?YesNo
    Atlassian Labs
    As of Bamboo version 5.7 this plugin is bundled with the Bamboo distribution.
    by Andrew Bilukha on 2014-08-05
    Very useful -- but can it be extended so that it could be used by the Deployment projects in Bamboo? I am injecting the variable into the build after the main compilation, and set the variable to the software version. I would like this variable to be subsequently used by the Deployment project to define a release version. However, it appears that ${bamboo.inject.myVariable} is not understood by the deployment projects when set up in "Next Release Version." When the Deployment is executed, it is literally set to ${bamboo.inject.myVariable} string, and not to the value that is in the corresponding build. Looking at the build's "Default Job" metadata tab, the inject.myVariable is not listed in the Variables section at the bottom, but rather in Metadata section.
    3 out of 3 found this review helpful
    Was this review helpful?YesNo
    Atlassian Labs
    If you use Bamboo 5.7 and the version of the plugin that is bundled with it, you are given option to use "result" scope for your variables, which makes them available in subsequent stages and related Deployment Releases.
    by Andreas Felix on 2014-06-05
    Simple and smart, very usefull for our automation process
    Was this review helpful?YesNo


    Basic support resources are available for this app.

    Vendor support resources


    Find out how this app works.

    See existing Q&A in Atlassian CommunityAsk a question in the Atlassian Community

    Atlassian-hosted discussions connect you to other customers who use this app.


    Version 1.4 Bamboo Server 5.1.0 - 5.13.2 Released 2013-10-30


    Removes incomplete scope feature that was introduced prematurely


    New in this release

    Removes incomplete scope feature that was introduced prematurely

    Fixed in this release

    Removes incomplete scope feature that was introduced prematurely


    1. Log into your Bamboo instance as an admin.
    2. Click the admin dropdown and choose Add-ons. The Manage add-ons screen loads.
    3. Click Find new add-ons from the left-hand side of the page.
    4. Locate Bamboo Inject Variables Plugin via search. Results include app versions compatible with your Bamboo instance.
    5. Click Install to download and install your app.
    6. You're all set! Click Close in the Installed and ready to go dialog.

    To find older Bamboo Inject Variables Plugin versions compatible with your instance, you can look through our version history page.

    Similar apps