Jenkins Pipeline executing oc new-project returns UNEXPECTED EOF

Solution Unverified - Updated -

Issue

  • With proxy configured within the cluster, when Jenkins Pipeline executes oc new-project command, the pipeline terminates with the following error message:
Unable to connect to the server: unexpected EOF
script returned exit code 1

Environment

  • Red Hat OpenShift Container Platform [RHOCP]
    • 4.3
  • Proxy enabled

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