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

Grrovy script in active choise returns the first checkbox when triggered by timer

XMLWordPrintable

      When invoked by timer the return result is different from expected. This leads to incorrect configurations for build.

      Steps:
      Defive Grrovy script as:

      return ["*","x","#","!","?","p","D"]
      

      Run job manually (dont select any values). Actual/expected:  result value is empty string.
      Run job by timer. Expected:  result value is empty string. Actual: value is equal to "*"

      More details:
        1. I use Multiconfiguration (matrix) job
        2. I use  groovy sandbox
        3. Fallback script is empty
        4. Choise type == checkbox
        5. I dont use filtering function (Enable Filters == unchecked)
      Jenkins version: 2.314
      Plugin version - ? (I'm not admin)

            kinow Bruno P. Kinoshita
            oleksandr_kulychok Oleksandr Kulychok
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: