Tel Map

Blog

Atlassian Bamboo Variable Extractor

Free Variable Extractor Tasks for Bamboo

BambooVariableExtractor

Automatic Deployment Package Version Number Assignment

This plugin for the build tool Atlassian Bamboo provides 2 new types of tasks to extract variables from text or XML files. These extracted information can then be used later in the process e.g. by using the extracted variable to automatically set the version number for a deployment package. Without this plugin you always have to copy and paste the version number.

Creating a new Variable Extraction Task

After our plugin is installed there are new types of tasks.

BambooVariableExtractor2

You can either extract a variable from an XML file via an XPath expression or via a regular expression from a normal text file.

Configuring the Variable Extraction Task

BambooVariableExtractor3

Automatically Assigning an Extracted Version Number to a Deployment Package

Go to Edit Environment.

BambooVariableExtractor5

Press the Release versioning button.

BambooVariableExtractor4

In this screen you now are able to assign a version number from a variable that you previously extracted out of a file.

For more information please take a look at the Atlassian Marketplace

https://marketplace.atlassian.com/plugins/com.illucit.bamboo-variables-extractor-plugin/server/overview

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *