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

Deadlock when renaming 2 jobs at the same time

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • copyartifact-plugin
    • None

      When a user renames a job, the plugin loops on all jobs to determine if it is using the plugin. However Project#getBuildersList is synchronized, so if several job renames happen, they deadlock each other because each thread already locks the jobs that is being renamed.

          [JENKINS-18347] Deadlock when renaming 2 jobs at the same time

          Oleg Nenashev added a comment - - edited

          I suppose that https://issues.jenkins-ci.org/browse/JENKINS-18589 resolves this issue.

          Oleg Nenashev added a comment - - edited I suppose that https://issues.jenkins-ci.org/browse/JENKINS-18589 resolves this issue.

            Unassigned Unassigned
            vlatombe Vincent Latombe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: