-
Bug
-
Resolution: Unresolved
-
Minor
-
None
When using the pipeline syntax gdsl generator, certain methods are not generated and others are not generated correctly (as far as I can tell anyway). The ones I noticed are podTemplate's namedParam containers should be a List rather than a Map. Additionally, it doesn't generate a method for containerTemplate, podAnnotation, hostPathVolume.
Additional errors being reported by IntelliJ:
checkout scm
Error reported
'checkout' cannot be applied to '(org.jenkinsci.plugins.workflow.multibranch.SCMVar)'
[JENKINS-42483] Certain GDSL methods are not generated
Description |
Original:
When using the pipeline syntax gdsl generator, certain methods are not generated and others are not generated correctly (as far as I can tell anyway). The ones I noticed are {{podTemplate}}'s namedParam {{containers}} should be a {{List}} rather than a {{Map}}. Additionally, it doesn't generate a method for {{containerTemplate}}, {{podAnnotation}}, {{hostPathVolume}}. Additional errors being reported by IntelliJ: {code} checkout scm {code} > 'checkout' cannot be applied to '(org.jenkinsci.plugins.workflow.multibranch.SCMVar)' |
New:
When using the pipeline syntax gdsl generator, certain methods are not generated and others are not generated correctly (as far as I can tell anyway). The ones I noticed are {{podTemplate}}'s namedParam {{containers}} should be a {{List}} rather than a {{Map}}. Additionally, it doesn't generate a method for {{containerTemplate}}, {{podAnnotation}}, {{hostPathVolume}}. Additional errors being reported by IntelliJ: {code} checkout scm {code} Error reported bq. 'checkout' cannot be applied to '(org.jenkinsci.plugins.workflow.multibranch.SCMVar)' |
Assignee | Original: Carlos Sanchez [ csanchez ] |
Component/s | Original: kubernetes-plugin [ 20639 ] |