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

MultiBranch Pipeline scanning and triggering issues

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • branch-api-plugin
    • None

      We are encountering multiple seemingly unrelated issues with the MultiBranch pipeline, which we are struggling to diagnose.

      The issues include:

      • 1 - NPE during branch indexing
      • 2 - failure to trigger builds on branches when notified by webhook
      • 3 - build failures due to 'cannot determine tip of revision...'

       

      We are building the jobs using the job DSL.

      At the first instance, we would love to give you more information, but there are no stacktraces being recorded in any of our jenkins log files.

      An example of (1) is:

       

      {{ Checking branch master }}

      ERROR: [Fri Mar 02 18:03:03 GMT 2018] Could not fetch branches from source owner-mobile:repo-ci-hook-listener:branch-master:script-Jenkinsfile java.lang.NullPointerException [Fri Mar 02 18:03:03 GMT 2018] Finished branch indexing. Indexing took 1.1 sec FATAL: Failed to recompute children of ci » api » ci-hook-listener java.lang.NullPointerException Finished: FAILURE

       

      In the first instance we would appreciate some help enabling stacktraces so we can supply more information.

      This is using: Pipeline: Multibranch 2.16

      Thank you.

       

            Unassigned Unassigned
            richajam James Richardson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: