We get ARA packages from Jenkins using the ARA plugin. I want to add the correct Release (as set up in ARA) to the ARA Package during the preparationscript in AE (which today loads commit-texts from Mercurial and puts them on the ARA Package).
We have put a Dynamic Property on the Jenkins build step which is available in the AE-job-script.
The question is: What code do i need to write in order the get the Release list from ARA/AE and then put the value that match the Dynamic Property onto the ARA Package?
(Today we can manually assign a Release to the ARA Package but we want to automate this).