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

Dynamic Axis Plugin sometimes inserts "default" axis even when it shouldn't

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I am using dynamic axis on job that can run concurrently.
      The plugin evaluate axis by on of the job's parameters.
      If (and only if) this parameter is empty, the plugin should set one value to the axis called "dafault".

      The issue is that sometimes even when this parameter is not empty, the plugin adds the value "default" to the axis, causing undefined runs to the build.

      From initial look at the code, I suggest it uses Java collection that doesn't support concurrent runs, not synchronized.

      Found another thread on it on the web.

        Attachments

          Activity

          Hide
          kckane Kevin Kane added a comment -

          Thanks for reporting this issue. It should be resolved in version 1.0.2 - please re-test after updating and let me know how it goes.

          Show
          kckane Kevin Kane added a comment - Thanks for reporting this issue. It should be resolved in version 1.0.2 - please re-test after updating and let me know how it goes.
          Hide
          or_shachar Or Shachar added a comment -

          Thank you Kevin! Nathan's change has fixed the issue!

          Show
          or_shachar Or Shachar added a comment - Thank you Kevin! Nathan's change has fixed the issue!
          Hide
          or_shachar Or Shachar added a comment -

          The bug was fixed by modifying the code to support concurrency (synchronized methods and objects).
          Was tested in out machines for more than a month and problem did not occur again.
          Thanks!

          Show
          or_shachar Or Shachar added a comment - The bug was fixed by modifying the code to support concurrency (synchronized methods and objects). Was tested in out machines for more than a month and problem did not occur again. Thanks!

            People

            Assignee:
            or_shachar Or Shachar
            Reporter:
            or_shachar Or Shachar
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: