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

incorrect config.xml for durationName for Seconds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • branch-api-plugin
    • None
    • Jenkins 2.401.1
      Branch API plugin 2.1105.v472604208c55

      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.

            Unassigned Unassigned
            makeevolution aldo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: