to deploy current artifact need build-in bamboo variables for environmentid and versionid

himashuk June 18, 2021

After open current artifact to deploy on say QA environment in bamboo deployment project 

I have post method like (the url is fine when I manually replace versionid and environmentids from current deployment plan)

curl https://bamboobaseurl/rest/api/latest/queue/deployment/?environmentid=${bamboo.deploy.environmenmentID}&versionid=${bamboo.deploy.versionID}

The environmenmentID versionID bamboo variables are not working in above commands

I got info about bamboo.deploy.* variables from here

but they don't have info about Ids for environment and versions (I don't want names)

0 answers

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events