Hi Tony
1.Setting Rollback Definition for DP action works on V5.5.1 (You need to run it on the preplan)
2. I normally find in the DB the last successful deployment based the same project and run on the same environment and set it as my rollback plan.
The below query will get you last deployment plan info you will need for setting up the rollback action
use nolio_db55;
select candidates.build, candidates.id ,candidates.name
from APPLICATIONS apps, RC_VERSION projects, ENVIRONMENTS envs, RC_RELEASES releases, RC_STAGES stages,rc_release_candidate candidates
where apps.ID = projects.APPLICATIONID and
releases.PROJECT = projects.ID and
stages.RELEASE_ID = releases.ID and
stages.ENVIRONMENT = envs.ID and
candidates.id = releases.release_candidate and
releases.RELEASE_RESULT ='SUCCESS' and
apps.APP_NAME ='Online Financial Trading Platform' and projects.NAME = 'Mobile_Platform' and envs.NAME = 'Dev'
order by releases.id desc limit 1;
Output
build, id, name
'2-50', '878', 'Mobile Deployment Build 50'
Thanks
Jacky