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

Aborting thread doing git operation leaves repository in unclean state

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • git-client-plugin
    • None
    • Jenkins v2.8

      I have a build in which some git checkout needs to be done on every node under parallel block. If parallel has failFast: true, then when one parallel branch fails, it immediately kills other branches. If a branch was killed while git clone or git checkout operation was being in progress, then index.lock or shallow.lock (due to shallow clone) remains on windows slave and next build fails because git repository has remained locked.

          [JENKINS-35648] Aborting thread doing git operation leaves repository in unclean state

          Nenad Miksa created issue -
          Mark Waite made changes -
          Assignee Original: Mark Waite [ markewaite ]
          Mark Waite made changes -
          Link New: This issue duplicates JENKINS-12513 [ JENKINS-12513 ]
          Mark Waite made changes -
          Link New: This issue duplicates JENKINS-25353 [ JENKINS-25353 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 171998 ] New: JNJira + In-Review [ 184542 ]

          JENKINS-37037 seems to be a related issue.

          Kenneth Baltrinic added a comment - JENKINS-37037 seems to be a related issue.
          Kenneth Baltrinic made changes -
          Link New: This issue relates to JENKINS-37037 [ JENKINS-37037 ]

          Is there a solution to this problem? It's really annoying

          yacoub hossain added a comment - Is there a solution to this problem? It's really annoying
          Mark Waite made changes -
          Link New: This issue is related to JENKINS-47652 [ JENKINS-47652 ]
          Mark Waite made changes -
          Component/s New: git-client-plugin [ 17423 ]
          Component/s Original: git-plugin [ 15543 ]

            Unassigned Unassigned
            dodoent Nenad Miksa
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: