Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,901
Community Members
 
Community Events
168
Community Groups

how can i avoid variable name and not value showing in release name?

Bamboo Version 7.0.4 build 70018

Mule Anypoint build
Pom File with variable in the version number:

<artifactId>my_artifact</artifactId>
<version>1.1.${bamboo_inject_epoch}</version>
<packaging>mule-application</packaging>
<name>app_name</name>

In the pipeline: 

Script task:

epoch_time=`date +%s`
echo "epoch=${epoch_time}" >> my.properties

Inject Task:

Path_to_Prop_File: my.properties
Namespace: inject
Scope: Result

I get a jar file with the correct name 1.1.<epoch_seconds>, BUT in the Bamboo GUI I only see the variable name in the release version and not the actual value.  How do I do this where I don't get the variable in the release name in Bamboo?Release_name_pic.png

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

304 views 0 7
Read article

Atlassian Community Events