jenkinsci / jenkinsci/branch-api-plugin

[JENKINS-49914] MultiBranch Pipeline scanning and triggering issues

Open
#697 1 comment 0 reactions 0 assignees View on GitHub
component:branch-api-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
39
Forks
154
PR merge metrics
No merged PRs in 30d

Description

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.

 

---
Originally reported by richajam, imported from: MultiBranch Pipeline scanning and triggering issues


  • status: Open
  • priority: Minor
  • component(s): branch-api-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 20251211-141027

Raw content of original issue

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.

 

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.