Calling an OpenShift defined pipeline from another pipeline registers a failure

Solution Verified - Updated -

Issue

  • Calling an OpenShift defined pipeline from another OpenShift pipeline registers a failure even though the 2nd pipeline does, in fact, get triggered
  • Two pipelines which are created by importing a BuildConfig pipeline into OpenShift. Chain1 does nothing but call Chain2 using a "build job" statement. Upon calling Chain2, Chain1 registers an error "ERROR: Failed to trigger build of example/test-chain2-pipeline" and fails even though Chain2 does trigger.
  • Chained or nested Jenkins pipeline fails even though second build starts

Environment

  • Red Hat OpenShift Container Platform
    • 3.9

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