Child job MultipleCompilationErrorsException is not propagated to parent job when loading libraries failed

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • None
    • Environment:

      Running a pipeline that uses a Groovy shared library. A parent job kicks off a child job by using the build api. The child job tries to load the shared library in its Jenkinsfile with

      @Library('repo@branch') _

      but it fails to load the library, throws a MultipleCompilationErrorsException, and fails. The parent job does not receive the MultipleCompilationErrorsException and instead receives a 

      FlowInterruptedException that contains no information to indicate the reason the child job failed.

            Assignee:
            Unassigned
            Reporter:
            Dallas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: