jenkinsci / jenkinsci/workflow-aggregator-plugin
[JENKINS-42483] Certain GDSL methods are not generated
- Dominant language
- No language data
- Stars
- 225
- Forks
- 125
- PR merge metrics
- No merged PRs in 30d
Description
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)'
---
Originally reported by thehosh, imported from: Certain GDSL methods are not generated
Raw content of original issue
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 scmError reported
'checkout' cannot be applied to '(org.jenkinsci.plugins.workflow.multibranch.SCMVar)'
Contributor guide
Research direction
Start with the pipeline syntax GDSL generator and reproduce the reported cases in IntelliJ: podTemplate namedParam containers, containerTemplate, podAnnotation, hostPathVolume, and checkout scm. Compare the generated signatures with the reported expectations; done means the missing methods are generated, containers is typed as a List, and the checkout error is resolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100