Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-72922

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


    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None

      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.

            Unassigned Unassigned
            dbitter Dallas
            0 Vote for this issue
            1 Start watching this issue