Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-69153] Do not call deprecated h.singletonList (#71)
* Do not call deprecated h.singletonList Jenkins 2.358 deprecated the `Functions.singletonList` method because it is not normally needed in JEXL. The `h.singletonList(it)` call in this groovy code reports a null pointer exception in Jenkins 2.358 and later. When the `h.singletonList(it)` call is replaced with `it`, the null pointer exception is not reported and the page loads. * Pass a list Co-authored-by: Jesse Glick <jglick@cloudbees.com> Co-authored-by: Jesse Glick <jglick@cloudbees.com>
- Loading branch information