Fix branch name determination in TriggerTest post-exec
I realised the env variable AtlasBuildBranch
is not available in CI, which makes the regtest and rootcomp steps complain about a missing reference. This MR makes TriggerTest use gitlabTargetBranch
if AtlasBuildBranch
is not available.
This will make the regtest and rootcomp steps run correctly in the CI, even though the CI result does not depend on their result (but you can still read the logs).
Related JIRA: ATR-19383
Edited by Rafal Bielski