How I can get variable from previous release in bamboo deployment

Yoann Beunardeau May 10, 2022



I try to get the revision git number from the previous release in the deployment plan in my bamboo project. I want to get it to make a release between my current git release number and the previous and notify it in a teams channel.


Thanks in advance.


1 answer

0 votes
Eduardo Alvarenga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 10, 2022

Hello @Yoann Beunardeau

The ${bamboo.planRepository.previousRevision} variable is exclusive do build plans. To retrieve it from a Deployment plan you will have to script it.

Please check the following KB that can be adapted to a Deployment plan as a script task to retrieve that information.



Eduardo Alvarenga
Atlassian Support APAC

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events