incorrect config.xml for durationName for Seconds

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

XMLWordPrintable

      When I set via UI the setting for durationName as Seconds, the config.xml show Minute instead (incorrect I would say).

      If I set via UI duration name as Minute, the config.xml shows minute (i.e. without big M, but correct behaviour I think); the same goes for hour, etc.

      I was relying on the config.xml to write a Job DSL script to configure another pipeline, and this caused me to make a mistake (i.e. I specified durationName in my DSL to Minute, hoping it will be set to Minute, but instead it was set to Seconds in the UI). The pipeline then also behaved like as if I set it as Seconds, causing my builds to trigger on incorrect times.

            Assignee:
            Unassigned
            Reporter:
            aldo
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: