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

C:\Program Files\Git\bin\git.exe read-tree -mu HEAD" returned status code 128: stdout: stderr: fatal: Not a valid object name HEAD

    Details

    • Similar Issues:

      Description

      [EnvInject] - Loading node environment variables.
      Building remotely on
      test_node3
      (test windows emma cc) in workspace D:\Hudson_Slaves\slave_test_node3\workspace\cfets_db
      Cloning the remote Git repository
      Using no checkout clone with sparse checkout.
      Cloning repository git@git.sami.int.thomsonreuters.com:TRDA-Development/database.git
      > C:\Program Files\Git\bin\git.exe init D:\Hudson_Slaves\slave_test_node3\workspace\cfets_db\postgres # timeout=10
      Fetching upstream changes from git@git.sami.int.thomsonreuters.com:TRDA-Development/database.git
      > C:\Program Files\Git\bin\git.exe --version # timeout=10
      using GIT_SSH to set credentials
      > C:\Program Files\Git\bin\git.exe fetch --tags --progress git@git.sami.int.thomsonreuters.com:TRDA-Development/database.git +refs/heads/:refs/remotes/origin/
      > C:\Program Files\Git\bin\git.exe config remote.origin.url git@git.sami.int.thomsonreuters.com:TRDA-Development/database.git # timeout=10
      > C:\Program Files\Git\bin\git.exe config --add remote.origin.fetch +refs/heads/:refs/remotes/origin/ # timeout=10
      > C:\Program Files\Git\bin\git.exe config remote.origin.url git@git.sami.int.thomsonreuters.com:TRDA-Development/database.git # timeout=10
      Fetching upstream changes from git@git.sami.int.thomsonreuters.com:TRDA-Development/database.git
      using GIT_SSH to set credentials
      > C:\Program Files\Git\bin\git.exe fetch --tags --progress git@git.sami.int.thomsonreuters.com:TRDA-Development/database.git +refs/heads/:refs/remotes/origin/
      > C:\Program Files\Git\bin\git.exe rev-parse "refs/remotes/origin/master^{commit}" # timeout=10
      > C:\Program Files\Git\bin\git.exe rev-parse "refs/remotes/origin/origin/master^{commit}" # timeout=10
      Checking out Revision 3e0f9c4718bb719f11b721a2e0807e30e853f144 (refs/remotes/origin/master)
      > C:\Program Files\Git\bin\git.exe config core.sparsecheckout # timeout=10
      > C:\Program Files\Git\bin\git.exe config core.sparsecheckout true # timeout=10
      > C:\Program Files\Git\bin\git.exe read-tree -mu HEAD # timeout=10
      Command "C:\Program Files\Git\bin\git.exe read-tree -mu HEAD" returned status code 128:
      stdout:
      stderr: fatal: Not a valid object name HEAD

      > C:\Program Files\Git\bin\git.exe checkout -f 3e0f9c4718bb719f11b721a2e0807e30e853f144
      Commit message: "Added assetinfo file"
      First time build. Skipping changelog.

        Attachments

          Activity

          bismayakumar_b Bismaya Kumar Biswal created issue -
          Hide
          markewaite Mark Waite added a comment -

          This is the expected output of an attempt to shallow clone with the Jenkins git plugin. Command line git reports that surprising message. The Jenkins git plugin ignores that surprising message from command line git and continues the shallow checkout. The message in the log seems to indicate that the job continued after that message was reported.

          If the job failed or some other unexpected condition happened, please describe that condition in detail.

          Show
          markewaite Mark Waite added a comment - This is the expected output of an attempt to shallow clone with the Jenkins git plugin. Command line git reports that surprising message. The Jenkins git plugin ignores that surprising message from command line git and continues the shallow checkout. The message in the log seems to indicate that the job continued after that message was reported. If the job failed or some other unexpected condition happened, please describe that condition in detail.
          markewaite Mark Waite made changes -
          Field Original Value New Value
          Status Open [ 1 ] Fixed but Unreleased [ 10203 ]
          Resolution Not A Defect [ 7 ]
          markewaite Mark Waite made changes -
          Assignee Mark Waite [ markewaite ]

            People

            • Assignee:
              Unassigned
              Reporter:
              bismayakumar_b Bismaya Kumar Biswal
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: