hudson.plugins.git.GitException: Command "git rev-parse "origin/${gitlabTargetBranch}^{commit}"" returned status code 128: stdout: origin/${gitlabTargetBranch}^{commit} stderr: fatal: ambiguous argument 'origin/${gitlabTargetBranch}^{commit}': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]'

GitHub | DoCode | 5 months ago
  1. 0

    GitHub comment 380#233702264

    GitHub | 5 months ago | DoCode
    hudson.plugins.git.GitException: Command "git rev-parse "origin/${gitlabTargetBranch}^{commit}"" returned status code 128: stdout: origin/${gitlabTargetBranch}^{commit} stderr: fatal: ambiguous argument 'origin/${gitlabTargetBranch}^{commit}': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]'
  2. 0

    commit notification null

    GitHub | 1 year ago | danalbu
    hudson.plugins.git.GitException: Command "C:\jenkins\tools\git\bin\git.exe rev-parse "null^{commit}"" returned status code 128: stdout: null^{commit} stderr: fatal: ambiguous argument 'null^{commit}': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]'
  3. 0

    [JIRA] [git-plugin] (JENKINS-26587) Checkout fails with Multiple SCMs plugin on commit notification

    Google Groups | 1 year ago | mdupont@caltesting.org (JIRA)
    hudson.plugins.git.GitException: Command <span class="code-quote" style="color: #009100">&quot;git rev-parse origin/master^{commit}&quot;</span> returned status code 128: stdout: origin/master^{commit} stderr: fatal: ambiguous argument 'origin/master^{commit}': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like <span class="code-keyword" style="color: #000091">this</span>: 'git &lt;command&gt; [&lt;revision&gt;...] -- [&lt;file&gt;...]'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JIRA] [bitbucket-pullrequest-builder-plugin] (JENKINS-24709) Commit id-ish link to the wrong repo in pullreq comment

    Google Groups | 10 months ago | mikhail@hotger.com (JIRA)
    hudson.plugins.git.GitException: Command <span class="code-quote" style="color: #009100">&quot;/usr/bin/git rev-parse 2990ad0d3772^{commit}&quot;</span> returned status code 128: stdout: 2990ad0d3772^{commit} stderr: fatal: ambiguous argument '2990ad0d3772^{commit}': unknown revision or path not in the working tree. Use '--' to separate paths from revisions
  6. 0

    FATAL: Command "git rev-parse /master^{commit}" returned status code 128:

    GitHub | 2 years ago | hansode
    hudson.plugins.git.GitException: Command "git rev-parse /master^{commit}" returned status code 128: stdout: /master^{commit} stderr: fatal: ambiguous argument '/master^{commit}': unknown revision or path not in the working tree. Use '--' to separate paths from revisions

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. hudson.plugins.git.GitException

      Command "git rev-parse "origin/${gitlabTargetBranch}^{commit}"" returned status code 128: stdout: origin/${gitlabTargetBranch}^{commit} stderr: fatal: ambiguous argument 'origin/${gitlabTargetBranch}^{commit}': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]'

      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn()
    2. org.jenkinsci.plugins
      CliGitAPIImpl.revParse
      1. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1739)
      2. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1712)
      3. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1708)
      4. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1378)
      5. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1390)
      6. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.revParse(CliGitAPIImpl.java:679)
      6 frames
    3. Hudson GIT plugin
      GitAPI.revParse
      1. hudson.plugins.git.GitAPI.revParse(GitAPI.java:316)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    5. Hudson :: Remoting Layer
      InterceptingExecutorService$1.call
      1. hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:884)
      2. hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:859)
      3. hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:818)
      4. hudson.remoting.UserRequest.perform(UserRequest.java:153)
      5. hudson.remoting.UserRequest.perform(UserRequest.java:50)
      6. hudson.remoting.Request$2.run(Request.java:332)
      7. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      7 frames
    6. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.FutureTask.run(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      3 frames
    7. Hudson :: Remoting Layer
      Engine$1$1.run
      1. hudson.remoting.Engine$1$1.run(Engine.java:85)
      1 frame
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame