Copy Remote Artifact step fails with “group id ‘XXXXX’ is too big ( > 2097151 ).”

1 minute readKnowledge base

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 ).

Resolution

This issue is unresolved, and is tracked internally as BEE-16249.

Workarounds

  • Try to substitute the selector copyRemoteArtifacts for a sh 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.