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

Declarative Syntax Generator gives wrong format for timestamps option

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • pipeline
    • None
    • Jenkins 2.222.1, all plugins up to date

      With a pipeline job configured, go to the declarative directive generator. Pick `options` and add `timestamps`. The generated syntax is

      options {

          timestamps

      }

      However, the documentation clearly states (in the example only, though) that the format should be

      options {

          timestamps()

      }

       

            Unassigned Unassigned
            krachynski Ken Rachynski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: