Issue
I have tried to use the selector copyRemoteArtifacts
in my Job to copy an artifact from another Job, but the step failed with the following error: group id ‘XXXXX’ is too big ( > 2097151 ).
Workarounds
-
Try to substitute the selector
copyRemoteArtifacts
for ash
step which manually performs the copy of the artifact. -
Upload the source artifact to an external repository like Artifactory and afterward, download the artifact in the Job.
-
Depending on the host infrastructure, may be possible to change the GID of the affected Group to decrease the value below the current maximum allowed threshold of
2097151
.
This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.