Branch: refs/heads/main
Home: https://github.com/jenkinsci/scriptler-plugin
Commit: adce718b3e4085dd57cc45ab5b2bac59c55ba960
https://github.com/jenkinsci/scriptler-plugin/commit/adce718b3e4085dd57cc45ab5b2bac59c55ba960
Author: Michael Tughan <[email protected]>
Date: 2024-12-04 (Wed, 04 Dec 2024)
Changed paths:
M
src/main/java/org/jenkinsci/plugins/scriptler/builder/ScriptlerBuilder.java
A src/main/resources/META-INF/hudson.remoting.ClassFilter
Log Message:
-----------
JENKINS-70066: Fix null check of parameters
The `@DataBoundConstructor` for `ScriptlerBuilder` takes a list of
parameters for the given script. It was annotated as `@NotNull`, but
`Descriptor.bindJSON` could occasionally pass `null` for the parameters
list. Fix this by annotating the parameter as `@CheckForNull` and
performing the appropriate null checks.
To unsubscribe from these emails, change your notification settings at
https://github.com/jenkinsci/scriptler-plugin/settings/notifications
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/scriptler-plugin/push/refs/heads/main/88a891-adce71%40github.com.