Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-36711

JobDsl pipeline snippet generator produces invalid code

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • job-dsl-plugin
    • None

      Using job-dsl-plugin 1.48, the snippet generated for the `executeDslScripts` step is completely useless.

      Repro steps:
      1. Install job-dsl-plugin 1.48
      2. Open Pipeline Snippet generator
      3. Select generic `step` from first drop-down
      4. Select `executeDslScripts` from second drop-down
      5. Click "Generate"

      Expected Output:
      Runable or at least useful code in output box

      Actual:
      `step <object of type javaposse.jobdsl.plugin.ExecuteDslScripts>`

          [JENKINS-36711] JobDsl pipeline snippet generator produces invalid code

          Liam Newman created issue -
          Liam Newman made changes -
          Link New: This issue is related to JENKINS-35282 [ JENKINS-35282 ]
          Daniel Spilker made changes -
          Link New: This issue duplicates JENKINS-36502 [ JENKINS-36502 ]
          Daniel Spilker made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 173441 ] New: JNJira + In-Review [ 210219 ]

            daspilker Daniel Spilker
            bitwiseman Liam Newman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: