2015-02-28 19:25 GMT+01:00 Jesse Glick <[email protected]>: > On Sat, Feb 28, 2015 at 6:16 AM, nicolas de loof > <[email protected]> wrote: > > my question is about to validate the DSL script before you actually run > the workflow. > > There is no such system, and I have a hard time imagining how one > would work anyway. >
Can't the Step API just introduce a "dryRun" or "validate" method, so you can parse and (dry-)run the DSL to collect all configuration | syntax | parameter name/type/value errors > > > validate the id is wrong or the syntax is using invalid attribute name > as I made a typo > > This is what the Snippet Generator is for; or in the future perhaps > DSLD/GDSL as well. > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr3EO%3DXbEJTLh%2BSZNHVbNObL4fo3v7hPjM3MqQP6NiZ%3DQw%40mail.gmail.com > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANMVJzkXB2YgenW%3D9HvJXKzPLb1kOamdwJ-DeQ8dgc2Pxyod5w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
