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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.