Jenkins throws "KubernetesAuthException" when starting Pod agent

Solution Verified - Updated -

Issue

  • Using the Jenkins image openshift4/ose-jenkins:v4.6, starting a Jenkins agent with Jenkins Domain Credentials (with CASC) fails with the following error message:

    KubernetesAuthException: No credentials found with id 1a12dfa4-7fc5-47a7-aa17-cc56572a41c7
    

Environment

  • Red Hat OpenShift Container Platform (OCP) 4.6
  • Jenkins Image openshift4/ose-jenkins:v4.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content