diff --git a/README.md b/README.md index 485ff2c..0264ce0 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,9 @@ triggers{ **Changelog** +#### TBD #### +- JENKINS-69490 - fixed NPE when using pipeline-syntax properties: Set job properties + #### 237.vc424f493c5f6 (10. Dec 2023) - JENKINS-72448 - Updated jenkins.version from 2.375.3 to 2.414.1 diff --git a/src/main/java/com/cloudbees/jenkins/plugins/BitBucketMultibranchTrigger.java b/src/main/java/com/cloudbees/jenkins/plugins/BitBucketMultibranchTrigger.java index ddaf045..c1c8c5a 100644 --- a/src/main/java/com/cloudbees/jenkins/plugins/BitBucketMultibranchTrigger.java +++ b/src/main/java/com/cloudbees/jenkins/plugins/BitBucketMultibranchTrigger.java @@ -45,7 +45,9 @@ public FormValidation doCheckOverrideUrl(@QueryParameter String value) throws IO @Override public boolean isApplicable(Item item) { - LOGGER.finest(item.getClass().getSimpleName()); + if ( item != null){ + LOGGER.finest(item.getClass().getSimpleName()); + } return item instanceof WorkflowMultiBranchProject; }