Details
-
New Feature
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
Description
When determining if an instance of a parameter needs a simple name or a FQCN, the JENKINS-43337 fix uses the erased type of the parameter which will fail for the cases where the parameter is a container parameter such as a List or Array, instead the erased type of the container's generic parameter should be used as there will be no instances of type `List` or `[]` so the simple name will be used always
Attachments
Issue Links
- is related to
-
JENKINS-43337 Snippet generator: Wrong snippet for Throttle Build
-
- Resolved
-
- links to
Code changed in jenkins
User: Stephen Connolly
Path:
pom.xml
src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator.java
src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java
src/test/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigatorTraitsTest.java
src/test/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSourceTraitsTest.java
http://jenkins-ci.org/commit/github-branch-source-plugin/b35932383d8d4cd7185dfd1bd8e3c41c03d31b23
Log:
JENKINS-43507Fresh eyes find and fix fresh bugsJENKINS-45130