From d0e795cb6392b5a8654f129aaf72cb6713328cec Mon Sep 17 00:00:00 2001 From: tzachs <259481+tzachs@users.noreply.github.com> Date: Thu, 8 Aug 2024 22:23:17 +0300 Subject: [PATCH 1/2] JENKINS-69490 - fix - check if item is null before printing the log --- .../jenkins/plugins/BitBucketMultibranchTrigger.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } From 93377578b3bc51d1a42ac8ff5d6ca15717c1584f Mon Sep 17 00:00:00 2001 From: tzachs <259481+tzachs@users.noreply.github.com> Date: Thu, 8 Aug 2024 22:28:39 +0300 Subject: [PATCH 2/2] JENKINS-69490 - added fix of JENKINS-69490 to README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) 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