Skip to content

Commit

Permalink
Merge pull request #101 from tzachs/JENKINS-69490
Browse files Browse the repository at this point in the history
JENKINS-69490 - fix - check if item is null before printing the log
  • Loading branch information
tzachs authored Aug 8, 2024
2 parents 62fc3e5 + 9337757 commit 8032f58
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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){

Check warning on line 48 in src/main/java/com/cloudbees/jenkins/plugins/BitBucketMultibranchTrigger.java

View check run for this annotation

ci.jenkins.io / Code Coverage

Not covered line

Line 48 is not covered by tests
LOGGER.finest(item.getClass().getSimpleName());
}
return item instanceof WorkflowMultiBranchProject;
}

Expand Down

0 comments on commit 8032f58

Please sign in to comment.