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

Declarative Pipeline needs a process for changing syntax

XMLWordPrintable

      If you look at the JobDSL project, they have a process by which the can change the syntax of their DSL, mark the old syntax as obsolete, notify user that the old syntax is obsolete, and eventually end-of-life it.

      We need the same thing for the Declarative syntax. We've already encountered something like this when we went from "stage 'name'" to "stage ('name') {}" in scripted, but this will come up again.

      We should not be locked into some part of the syntax forever just because it was in 1.0. At the same time, it should be possible to make changes that enable new syntax without breaking the existing syntax, and then later remove the old syntax.

            Unassigned Unassigned
            bitwiseman Liam Newman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: