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

Michael Trostle December 16, 2020

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
AUG Leaders

Atlassian Community Events