Skip to content

Conversation

nogueiraanderson
Copy link
Contributor

@nogueiraanderson nogueiraanderson commented Oct 8, 2025

Summary

Grants the openshift-helm-tests job permission to copy artifacts from openshift-cluster-create builds.

Problem

The openshift-helm-tests job was failing at the "Copy Artifacts" stage with:

Unable to find project for artifact copy: openshift-cluster-create

This may be due to incorrect project name or permission settings

Root Cause

Jenkins' Copy Artifact plugin requires explicit permission configuration. The openshift-cluster-create job needed to grant permission to openshift-helm-tests to access its archived artifacts (specifically the kubeconfig file).

Solution

Added copyartifact property to the job definition:

properties:
  - copyartifact:
      projects: openshift-helm-tests

This change grants the openshift-helm-tests job permission to copy
artifacts from openshift-cluster-create builds. This fixes the
"Unable to find project for artifact copy" error that occurs when
openshift-helm-tests attempts to copy the kubeconfig file from the
cluster creation job.

The copyartifact permission is required by Jenkins' Copy Artifact
plugin security model to allow cross-job artifact access.

Fixes: Copy Artifacts stage failure in openshift-helm-tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant