A build / Run may have multipleĀ associated TagAction instances. The PerforceScm.buildEnvVars and PerforceScm.buildEnvironment methods only retrieve the first associated TagAction for the Run. As a result, the contributed P4 environment variables for each checkout always correspond to the first configured P4 SCM only.