Branch: refs/heads/376.x
Home: https://github.com/jenkinsci/scriptler-plugin
Commit: 843c72a5d0550056bd98be449cf2db458817e3f0
https://github.com/jenkinsci/scriptler-plugin/commit/843c72a5d0550056bd98be449cf2db458817e3f0
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
M src/main/java/org/jenkinsci/plugins/scriptler/config/Script.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.
(cherry picked from commit adce718b3e4085dd57cc45ab5b2bac59c55ba960)
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/376.x/1f364a-843c72%40github.com.