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

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

      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.

          [JENKINS-19525] Dynamic Axis Plugin sometimes inserts "default" axis even when it shouldn't

          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.

          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.

          Or Shachar added a comment -

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

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

          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!

          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!

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

              Created:
              Updated:
              Resolved: