[JENKINS-23025] Allow container IDs contain env. variables