This seems caused because CopyArtifact#upgradeIfNecessary cannot find a project "matrix/which=${which}".
This may be processed like this:
- upgradeIfNecessary receives variables from perform.
- Expand projectName with variables.
- If a project named expanded projectName, consider projectName can be used as project. If not, projectName is considered contains project and parameter.
When onCopy, variables cannot be retrieved.
If projectName contains variables (that is, contains $), the configuration should not be upgraded.
This seems caused because CopyArtifact#upgradeIfNecessary cannot find a project "matrix/which=${which}".
This may be processed like this:
When onCopy, variables cannot be retrieved.
If projectName contains variables (that is, contains $), the configuration should not be upgraded.