jenkinsci / jenkinsci/workflow-aggregator-plugin

[JENKINS-42483] Certain GDSL methods are not generated

Open
#702 2 comments 0 reactions 0 assignees View on GitHub
component:workflow-aggregator-plugin imported-jira-issue priority:minor resolution:unresolved
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


  • status: Open
  • priority: Minor
  • component(s): workflow-aggregator-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 4
  • imported: 2025-12-08

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 scm



Error reported


'checkout' cannot be applied to '(org.jenkinsci.plugins.workflow.multibranch.SCMVar)'

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.