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

"git remote prune" failures for alternate, ssh:// repositories

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • git-plugin
    • None
    • Ubuntu Lucid

    Description

      Version 1.1.6 works as expected. 1.1.8 now fails when running git remote prune. It might be significant that the repository in question is the preview server Git publisher pushes to and not the origin.

       
      Checkout:workspace / /var/lib/jenkins/jobs/proj-trunk/workspace - hudson.remoting.LocalChannel@5240f1d3
      Using strategy: Default
      Last Built Revision: Revision 51113a2f81f67645291ca381a8bc32f5cb0ebf47 (origin/master)
      Checkout:wdl / /var/lib/jenkins/jobs/proj-trunk/workspace/wdl - hudson.remoting.LocalChannel@5240f1d3
      Pruning obsolete local branches
      FATAL: Error performing command: git remote prune platinum
      Command "git remote prune platinum" returned status code 128: fatal: 'platinum' does not appear to be a git repository
      fatal: The remote end hung up unexpectedly
      
      hudson.plugins.git.GitException: Error performing command: git remote prune platinum
      Command "git remote prune platinum" returned status code 128: fatal: 'platinum' does not appear to be a git repository
      fatal: The remote end hung up unexpectedly
      

      This account uses SSH public-key auth and works normally in all other cases, including after reverting to 1.1.6.

      Attachments

        Activity

          acdha acdha created issue -
          acdha acdha made changes -
          Field Original Value New Value
          Description Version 1.1.6 works as expected. 1.1.8 now fails when running git prune:

          {noformat}
          Checkout:workspace / /var/lib/jenkins/jobs/proj-trunk/workspace - hudson.remoting.LocalChannel@5240f1d3
          Using strategy: Default
          Last Built Revision: Revision 51113a2f81f67645291ca381a8bc32f5cb0ebf47 (origin/master)
          Checkout:wdl / /var/lib/jenkins/jobs/proj-trunk/workspace/wdl - hudson.remoting.LocalChannel@5240f1d3
          Pruning obsolete local branches
          FATAL: Error performing command: git remote prune platinum
          Command "git remote prune platinum" returned status code 128: fatal: 'platinum' does not appear to be a git repository
          fatal: The remote end hung up unexpectedly

          hudson.plugins.git.GitException: Error performing command: git remote prune platinum
          Command "git remote prune platinum" returned status code 128: fatal: 'platinum' does not appear to be a git repository
          fatal: The remote end hung up unexpectedly
          {noformat}

          This account uses SSH public-key auth and works normally in all other cases, including after reverting to 1.1.6.
          Version 1.1.6 works as expected. 1.1.8 now fails when running git remote prune. It might be significant that the repository in question is the preview server Git publisher pushes to and not the origin.

          {noformat}
          Checkout:workspace / /var/lib/jenkins/jobs/proj-trunk/workspace - hudson.remoting.LocalChannel@5240f1d3
          Using strategy: Default
          Last Built Revision: Revision 51113a2f81f67645291ca381a8bc32f5cb0ebf47 (origin/master)
          Checkout:wdl / /var/lib/jenkins/jobs/proj-trunk/workspace/wdl - hudson.remoting.LocalChannel@5240f1d3
          Pruning obsolete local branches
          FATAL: Error performing command: git remote prune platinum
          Command "git remote prune platinum" returned status code 128: fatal: 'platinum' does not appear to be a git repository
          fatal: The remote end hung up unexpectedly

          hudson.plugins.git.GitException: Error performing command: git remote prune platinum
          Command "git remote prune platinum" returned status code 128: fatal: 'platinum' does not appear to be a git repository
          fatal: The remote end hung up unexpectedly
          {noformat}

          This account uses SSH public-key auth and works normally in all other cases, including after reverting to 1.1.6.
          acdha acdha made changes -
          Attachment config.xml [ 20470 ]
          scm_issue_link SCM/JIRA link daemon made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 139835 ] JNJira + In-Review [ 188710 ]
          markewaite Mark Waite made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

          People

            abayer Andrew Bayer
            acdha acdha
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: