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

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

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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)

        Attachments

          Issue Links

            Activity

            Hide
            kinow Bruno P. Kinoshita added a comment -

            Hi, thanks for reporting the issue. I remembered reading a similar issue. I think I found it, so marking it as duplicated. But nevertheless, the more examples to reproduce the merrier thanks! And pull requests welcome in case you have time to work on it.

            Show
            kinow Bruno P. Kinoshita added a comment - Hi, thanks for reporting the issue. I remembered reading a similar issue. I think I found it, so marking it as duplicated. But nevertheless, the more examples to reproduce the merrier thanks! And pull requests welcome in case you have time to work on it.

              People

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

                Dates

                Created:
                Updated:
                Resolved: