Pass environment variables from pipeline job A to pipeline job B
The issue was missing comma between build job and parameters. Below is the correct syntax:

...
                    build job: 'run-on-single-repo',
                    parameters:

...