Unable to follow Jenkins pipeline build logs

Solution In Progress - Updated -

Issue

It is not possible to start a Jenkins build and follow the build logs. When running the following command an error is shown but the build is started:

$ oc start-build --follow my-pipeline
build "my-pipeline-1" started
error getting logs (pod "my-pipeline-1-build" not found), waiting for build to complete

Environment

OpenShift Container Platform 3.4 and later

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