How to use version name in Bamboo script

0 votes
Hi All,

We have 3 tasks in our Default Job in Bamboo - 1) Checkout the source code, 2) Maven build, and 3) Script to upload to AWS lambda function.  So 1 and 2, produces the .zip file named according the maven version, but step #3 doesn't know what the version is because it's a part of the maven build in the previous step.  So, I need to know how to tell step #3 what the .zip file name is.

We know the location will be prediction/target, but what is really unknown is the maven build version; it could be -0.0.1-SNAPSHOT, it could be -1.1.1210-SNAPSHOT. I know we could use the bambooBuildVersion, but then that means we would need to do a bunch of work to keep the maven versions in sync with bamboo...

So kindly let me know if we have any easy workaround of it.
Apr 9, 2020 in Other DevOps Questions by Abhishek
• 280 points

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Other DevOps Questions

0 votes
1 answer

How to stop sqlplus command in unix shell script when any sql fails

One idea would be to launch the ...READ MORE

answered Jul 16, 2018 in Other DevOps Questions by Kalgi
• 52,360 points
0 votes
1 answer

How to get issues count based on rules in a sonar project?

There are API docs in the footer ...READ MORE

answered May 4, 2018 in Other DevOps Questions by DareDev
• 6,890 points
+1 vote
2 answers

When do we use Chef or Azure SDK to create VM and deploy in automation

The solution to the automated deployment in ...READ MORE

answered Aug 21, 2018 in Other DevOps Questions by Priyaj
• 58,090 points
0 votes
1 answer

How do I set variable if a specific package version is installed in CFEngine?

Here is what you can do.Just use packagesmatching to ...READ MORE

answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,240 points
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
+2 votes
1 answer
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP