• Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • workflow-cps-plugin
    • None

      For people writing flows in Eclipse, DSLD would be a useful complement to the snippet generator.

      IDEA uses GDSL. It seems there is no acknowledged standard; would apparently have to build support for both. (I can find no DSL system for NetBeans.)

          [JENKINS-26126] DSLD and/or GDSL

          Jesse Glick created issue -

          Jesse Glick added a comment -

          Would presumably need DescribableHelper to include an API for introspecting describable classes, in addition to dealing with particular instances. Surface syntax aspects would be specific to the CPS DSL.

          Jesse Glick added a comment - Would presumably need DescribableHelper to include an API for introspecting describable classes, in addition to dealing with particular instances. Surface syntax aspects would be specific to the CPS DSL.
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-26094 [ JENKINS-26094 ]

          Jesse Glick added a comment -

          PR 44 adds hardcoded GDSL (not DSLD) for a few steps.

          Jesse Glick added a comment - PR 44 adds hardcoded GDSL (not DSLD) for a few steps.
          Jesse Glick made changes -
          Remote Link New: This issue links to "PR 44 (Web Link)" [ 12114 ]
          Jesse Glick made changes -
          Assignee Original: Jesse Glick [ jglick ]
          Description Original: For people writing flows in IDEs, [DSLD|http://groovy.codehaus.org/DSL+Descriptors+for+Groovy-Eclipse] would be a useful complement to the snippet generator. New: For people writing flows in Eclipse, [DSLD|http://groovy.codehaus.org/DSL+Descriptors+for+Groovy-Eclipse] would be a useful complement to the snippet generator.

          IDEA uses GDSL. It seems there is no acknowledged standard; would apparently have to build support for both. (I can find no DSL system for NetBeans.)
          Summary Original: DSLD New: DSLD and/or GDSL

          Jesse Glick added a comment -

          Should also be able to emit (for example) HTML for static reference guides.

          Jesse Glick added a comment - Should also be able to emit (for example) HTML for static reference guides.

          A generic @Extension point that allows other plugins to implement other output formats (GDSL, DSLD, HTML, ... etc.) seems like the route to take.

          Andy Pemberton added a comment - A generic @Extension point that allows other plugins to implement other output formats (GDSL, DSLD, HTML, ... etc.) seems like the route to take.

          rsandell added a comment - - edited

          I made a workflow script that generates a GDSL file for you. It has some issues and is riddled with bugs, assumptions and guesses. But it's a start to build from maybe

          https://gist.github.com/rsandell/ea18fa6bf07662a223f5

          rsandell added a comment - - edited I made a workflow script that generates a GDSL file for you. It has some issues and is riddled with bugs, assumptions and guesses. But it's a start to build from maybe https://gist.github.com/rsandell/ea18fa6bf07662a223f5

          Andrew Bayer added a comment -

          fwiw, I've thrown that (after a tweak to deal with an IllegalStateException it hit in SCMVar) into https://github.com/abayer/workflow-experiments/blob/master/workflow-gdsl.groovy.

          Andrew Bayer added a comment - fwiw, I've thrown that (after a tweak to deal with an IllegalStateException it hit in SCMVar ) into https://github.com/abayer/workflow-experiments/blob/master/workflow-gdsl.groovy .

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            11 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated: