The secrets syntax added in is currently supported only by the Freestyle-based STDCI jobs. We need to add support for the pipeline jobs.
As part of the work on this, we need to move the code that requires project-specific env vars (like 'PROJECT') out of the 'global_setup.sh' script which can run at an early stage where we don't know which project are we testing yet, and into a project-specific setup script.
, here is the ticket where I commented about the need to move the secrets filtering code from 'global_setup.sh' to a different file.
Blocks because we need secrets in order to support some Gerrit projects (such as Jenkins project)