compatibility with snippet generator

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Currently Job DSL has neat support for running as a Pipeline step: https://github.com/jenkinsci/job-dsl-plugin/wiki/User-Power-Moves#use-job-dsl-in-pipeline-scripts. However, if attempting to add this from the snippet generator (https://jenkins.io/doc/pipeline/#using-snippet-generator) you end up with an unhelpful generated groovy: "step <object of type javaposse.jobdsl.plugin.ExecuteDslScripts>". I'm not positive if this needs a different constructor or how exactly Job DSL can better support this, but if it helps I found a related issue+PR for another plugin with the same problem: https://github.com/dblock/jenkins-ansicolor-plugin/issues/65

            Assignee:
            Daniel Spilker
            Reporter:
            mcrooney
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: