hudson.plugins.git.GitException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 380#233702264
    via GitHub by DoCode
    ,
  • commit notification null
    via GitHub by danalbu
    ,
  • We have a matrix project configured to merge a git feature branch onto the master before starting the build. The exact configuration is attached as screenshot. The documentation for the "Name of repository" oarameter of the "Merge before build" behavior states that: {quote} If left blank, it'll default to the name of the first repository configured above. {quote} However, when leaving this field empty, you receive the following output when triggering the build: {noformat} Started by an SCM change Building remotely on ubuntu_trusty_64bit (trusty gcc ubuntu-next java7 ubuntu linux 64bit) in workspace /home/jenkins/workspace/rsb-cpp-trunk-merge-simulator selected Git installation does not exists. Using Default Wiping out workspace first. Cloning the remote Git repository Cloning repository https://code.cor-lab.org/git/rsb.git.cpp > git init /home/jenkins/workspace/rsb-cpp-trunk-merge-simulator # timeout=10 Fetching upstream changes from https://code.cor-lab.org/git/rsb.git.cpp > git --version # timeout=10 > git fetch --tags --progress https://code.cor-lab.org/git/rsb.git.cpp +refs/heads/*:refs/remotes/origin/* > git config remote.origin.url https://code.cor-lab.org/git/rsb.git.cpp # timeout=10 > git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://code.cor-lab.org/git/rsb.git.cpp # timeout=10 Fetching upstream changes from https://code.cor-lab.org/git/rsb.git.cpp > git fetch --tags --progress https://code.cor-lab.org/git/rsb.git.cpp +refs/heads/*:refs/remotes/origin/* Seen branch in repository origin/0.10 Seen branch in repository origin/0.3 Seen branch in repository origin/0.4 Seen branch in repository origin/0.5 Seen branch in repository origin/0.6 Seen branch in repository origin/0.7 Seen branch in repository origin/0.9 Seen branch in repository origin/agni Seen branch in repository origin/bug-1285 Seen branch in repository origin/enhancement-1096 Seen branch in repository origin/enhancement-1757 Seen branch in repository origin/enhancement-2034 Seen branch in repository origin/master Seen branch in repository origin/wip-introspection Seen branch in repository origin/wip-rosetta Seen branch in repository origin/wip-static-participants Seen 16 remote branches Multiple candidate revisions Scheduling another build to catch up with rsb-cpp-trunk-merge-simulator Merging Revision 70a3fd1f2425cdc779d83314c6978955979e9237 (origin/enhancement-1757) onto /master using default strategy > git rev-parse /master^{commit} # timeout=10 FATAL: 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, like this: 'git <command> [<revision>...] -- [<file>...]' 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, like this: 'git <command> [<revision>...] -- [<file>...]' at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1437) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1413) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1409) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1112) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1122) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.revParse(CliGitAPIImpl.java:518) at hudson.plugins.git.GitAPI.revParse(GitAPI.java:257) at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:309) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:290) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:249) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {noformat}
    via by Johannes Wienke,
  • It appears the git rev-parse command fails because it adds a / character to the prefix of the ref. In the 'branch to merge to' field I have tried origin/develop, /origin/develop, develop, /develop and neither of the four will work. When I try 'develop' the commands show as below 11:24:42 FATAL: Command "/usr/bin/git rev-parse /develop^{commit}" returned status code 128: so to clarify (fails with / passes without it) fails: /usr/bin/git rev-parse /origin/develop succeeds : /usr/bin/git rev-parse origin/develop Notice the / . However this was not in the 'branch to merge to' label so this should not be included. If I remove / and run command manually it works. When I add the / it fails again. I think this is a bug in git client plugin. 11:24:15 [EnvInject] - Loading node environment variables. 11:24:15 Building remotely on [server] in workspace /var/lib/jenkins/ws/stparser-trigger-master/18 11:24:15 11:24:15 Deleting project workspace... Cloning the remote Git repository 11:24:16 Cloning repository [scm url]:stparser.git 11:24:16 > /usr/bin/git init /var/lib/jenkins/ws/stparser-trigger-master/18 # timeout=10 11:24:16 Fetching upstream changes from [scm url]:stparser.git 11:24:16 > /usr/bin/git --version # timeout=10 11:24:16 > /usr/bin/git fetch --tags --progress [scm url]:stparser.git +refs/heads/*:refs/remotes/origin/* 11:24:42 > /usr/bin/git config remote.origin.url [scm url]:stparser.git # timeout=10 11:24:42 > /usr/bin/git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:24:42 > /usr/bin/git config remote.origin.url [scm url]:stparser.git # timeout=10 11:24:42 Fetching upstream changes from [scm url]:stparser.git 11:24:42 > /usr/bin/git fetch --tags --progress [scm url]:stparser.git +refs/heads/*:refs/remotes/origin/* 11:24:42 > /usr/bin/git rev-parse origin/master^{commit} # timeout=10 11:24:42 Merging Revision e3fb8ab57804916f31655bbb0ede86415c7f4616 (origin/master) to /develop, UserMergeOptions{mergeRemote='', mergeTarget='develop', mergeStrategy='default', fastForwardMode='--no-ff'} {color:red}11:24:42 > /usr/bin/git rev-parse /develop^{commit} # timeout=10{color} 11:24:42 FATAL: Command "/usr/bin/git rev-parse /develop^{commit}" returned status code 128: 11:24:42 stdout: /develop^{commit} 11:24:42 11:24:42 stderr: fatal: ambiguous argument '/develop^{commit}': unknown revision or path not in the working tree. 11:24:42 Use '--' to separate paths from revisions 11:24:42 11:24:42 hudson.plugins.git.GitException: Command "/usr/bin/git rev-parse /develop^{commit}" returned status code 128: 11:24:42 stdout: /develop^{commit} 11:24:42 11:24:42 stderr: fatal: ambiguous argument '/develop^{commit}': unknown revision or path not in the working tree. 11:24:42 Use '--' to separate paths from revisions 11:24:42 11:24:42 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1591) 11:24:42 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1567) 11:24:42 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1563) 11:24:42 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1249) 11:24:42 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1261) 11:24:42 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.revParse(CliGitAPIImpl.java:622) 11:24:42 at hudson.plugins.git.GitAPI.revParse(GitAPI.java:316) 11:24:42 at sun.reflect.GeneratedMethodAccessor403.invoke(Unknown Source) 11:24:42 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 11:24:42 at java.lang.reflect.Method.invoke(Method.java:606) 11:24:42 at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:326) 11:24:42 at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:301) 11:24:42 at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:260) 11:24:42 at hudson.remoting.UserRequest.perform(UserRequest.java:121) 11:24:42 at hudson.remoting.UserRequest.perform(UserRequest.java:49) 11:24:42 at hudson.remoting.Request$2.run(Request.java:325) 11:24:42 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) 11:24:42 at java.util.concurrent.FutureTask.run(FutureTask.java:262) 11:24:42 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 11:24:42 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 11:24:42 at java.lang.Thread.run(Thread.java:745) 11:24:42 at ......remote call to contint3(Native Method) 11:24:42 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1361) 11:24:42 at hudson.remoting.UserResponse.retrieve(UserRequest.java:221) 11:24:42 at hudson.remoting.Channel.call(Channel.java:753) 11:24:42 at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:179) 11:24:42 at com.sun.proxy.$Proxy55.revParse(Unknown Source) 11:24:42 at org.jenkinsci.plugins.gitclient.RemoteGitImpl.revParse(RemoteGitImpl.java:546) 11:24:42 at hudson.plugins.git.extensions.impl.PreBuildMerge.decorateRevisionToBuild(PreBuildMerge.java:64) 11:24:42 at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:925) 11:24:42 at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1017) 11:24:42 at hudson.scm.SCM.checkout(SCM.java:485) 11:24:42 at hudson.model.AbstractProject.checkout(AbstractProject.java:1282) 11:24:42 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610) 11:24:42 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) 11:24:42 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532) 11:24:42 at hudson.model.Run.execute(Run.java:1744) 11:24:42 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 11:24:42 at hudson.model.ResourceController.execute(ResourceController.java:98) 11:24:42 at hudson.model.Executor.run(Executor.java:374) 11:24:42 [BFA] Scanning build for known causes... 11:24:42 [BFA] No failure causes found 11:24:42 [BFA] Done. 0s 11:24:42 Notifying upstream projects of job completion 11:24:42 Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered 11:24:42 Finished: FAILURE
    via by Matt Evans,
  • We have a matrix project configured to merge a git feature branch onto the master before starting the build. The exact configuration is attached as screenshot. The documentation for the "Name of repository" oarameter of the "Merge before build" behavior states that: {quote} If left blank, it'll default to the name of the first repository configured above. {quote} However, when leaving this field empty, you receive the following output when triggering the build: {noformat} Started by an SCM change Building remotely on ubuntu_trusty_64bit (trusty gcc ubuntu-next java7 ubuntu linux 64bit) in workspace /home/jenkins/workspace/rsb-cpp-trunk-merge-simulator selected Git installation does not exists. Using Default Wiping out workspace first. Cloning the remote Git repository Cloning repository https://code.cor-lab.org/git/rsb.git.cpp > git init /home/jenkins/workspace/rsb-cpp-trunk-merge-simulator # timeout=10 Fetching upstream changes from https://code.cor-lab.org/git/rsb.git.cpp > git --version # timeout=10 > git fetch --tags --progress https://code.cor-lab.org/git/rsb.git.cpp +refs/heads/*:refs/remotes/origin/* > git config remote.origin.url https://code.cor-lab.org/git/rsb.git.cpp # timeout=10 > git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://code.cor-lab.org/git/rsb.git.cpp # timeout=10 Fetching upstream changes from https://code.cor-lab.org/git/rsb.git.cpp > git fetch --tags --progress https://code.cor-lab.org/git/rsb.git.cpp +refs/heads/*:refs/remotes/origin/* Seen branch in repository origin/0.10 Seen branch in repository origin/0.3 Seen branch in repository origin/0.4 Seen branch in repository origin/0.5 Seen branch in repository origin/0.6 Seen branch in repository origin/0.7 Seen branch in repository origin/0.9 Seen branch in repository origin/agni Seen branch in repository origin/bug-1285 Seen branch in repository origin/enhancement-1096 Seen branch in repository origin/enhancement-1757 Seen branch in repository origin/enhancement-2034 Seen branch in repository origin/master Seen branch in repository origin/wip-introspection Seen branch in repository origin/wip-rosetta Seen branch in repository origin/wip-static-participants Seen 16 remote branches Multiple candidate revisions Scheduling another build to catch up with rsb-cpp-trunk-merge-simulator Merging Revision 70a3fd1f2425cdc779d83314c6978955979e9237 (origin/enhancement-1757) onto /master using default strategy > git rev-parse /master^{commit} # timeout=10 FATAL: 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, like this: 'git <command> [<revision>...] -- [<file>...]' 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, like this: 'git <command> [<revision>...] -- [<file>...]' at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1437) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1413) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1409) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1112) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1122) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.revParse(CliGitAPIImpl.java:518) at hudson.plugins.git.GitAPI.revParse(GitAPI.java:257) at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:309) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:290) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:249) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {noformat}
    via by Johannes Wienke,
  • It appears the git rev-parse command fails because it adds a / character to the prefix of the ref. In the 'branch to merge to' field I have tried origin/develop, /origin/develop, develop, /develop and neither of the four will work. When I try 'develop' the commands show as below 11:24:42 FATAL: Command "/usr/bin/git rev-parse /develop^{commit}" returned status code 128: so to clarify (fails with / passes without it) fails: /usr/bin/git rev-parse /origin/develop succeeds : /usr/bin/git rev-parse origin/develop Notice the / . However this was not in the 'branch to merge to' label so this should not be included. If I remove / and run command manually it works. When I add the / it fails again. I think this is a bug in git client plugin. 11:24:15 [EnvInject] - Loading node environment variables. 11:24:15 Building remotely on [server] in workspace /var/lib/jenkins/ws/stparser-trigger-master/18 11:24:15 11:24:15 Deleting project workspace... Cloning the remote Git repository 11:24:16 Cloning repository [scm url]:stparser.git 11:24:16 > /usr/bin/git init /var/lib/jenkins/ws/stparser-trigger-master/18 # timeout=10 11:24:16 Fetching upstream changes from [scm url]:stparser.git 11:24:16 > /usr/bin/git --version # timeout=10 11:24:16 > /usr/bin/git fetch --tags --progress [scm url]:stparser.git +refs/heads/*:refs/remotes/origin/* 11:24:42 > /usr/bin/git config remote.origin.url [scm url]:stparser.git # timeout=10 11:24:42 > /usr/bin/git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:24:42 > /usr/bin/git config remote.origin.url [scm url]:stparser.git # timeout=10 11:24:42 Fetching upstream changes from [scm url]:stparser.git 11:24:42 > /usr/bin/git fetch --tags --progress [scm url]:stparser.git +refs/heads/*:refs/remotes/origin/* 11:24:42 > /usr/bin/git rev-parse origin/master^{commit} # timeout=10 11:24:42 Merging Revision e3fb8ab57804916f31655bbb0ede86415c7f4616 (origin/master) to /develop, UserMergeOptions{mergeRemote='', mergeTarget='develop', mergeStrategy='default', fastForwardMode='--no-ff'} {color:red}11:24:42 > /usr/bin/git rev-parse /develop^{commit} # timeout=10{color} 11:24:42 FATAL: Command "/usr/bin/git rev-parse /develop^{commit}" returned status code 128: 11:24:42 stdout: /develop^{commit} 11:24:42 11:24:42 stderr: fatal: ambiguous argument '/develop^{commit}': unknown revision or path not in the working tree. 11:24:42 Use '--' to separate paths from revisions 11:24:42 11:24:42 hudson.plugins.git.GitException: Command "/usr/bin/git rev-parse /develop^{commit}" returned status code 128: 11:24:42 stdout: /develop^{commit} 11:24:42 11:24:42 stderr: fatal: ambiguous argument '/develop^{commit}': unknown revision or path not in the working tree. 11:24:42 Use '--' to separate paths from revisions 11:24:42 11:24:42 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1591) 11:24:42 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1567) 11:24:42 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1563) 11:24:42 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1249) 11:24:42 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1261) 11:24:42 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.revParse(CliGitAPIImpl.java:622) 11:24:42 at hudson.plugins.git.GitAPI.revParse(GitAPI.java:316) 11:24:42 at sun.reflect.GeneratedMethodAccessor403.invoke(Unknown Source) 11:24:42 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 11:24:42 at java.lang.reflect.Method.invoke(Method.java:606) 11:24:42 at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:326) 11:24:42 at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:301) 11:24:42 at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:260) 11:24:42 at hudson.remoting.UserRequest.perform(UserRequest.java:121) 11:24:42 at hudson.remoting.UserRequest.perform(UserRequest.java:49) 11:24:42 at hudson.remoting.Request$2.run(Request.java:325) 11:24:42 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) 11:24:42 at java.util.concurrent.FutureTask.run(FutureTask.java:262) 11:24:42 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 11:24:42 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 11:24:42 at java.lang.Thread.run(Thread.java:745) 11:24:42 at ......remote call to contint3(Native Method) 11:24:42 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1361) 11:24:42 at hudson.remoting.UserResponse.retrieve(UserRequest.java:221) 11:24:42 at hudson.remoting.Channel.call(Channel.java:753) 11:24:42 at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:179) 11:24:42 at com.sun.proxy.$Proxy55.revParse(Unknown Source) 11:24:42 at org.jenkinsci.plugins.gitclient.RemoteGitImpl.revParse(RemoteGitImpl.java:546) 11:24:42 at hudson.plugins.git.extensions.impl.PreBuildMerge.decorateRevisionToBuild(PreBuildMerge.java:64) 11:24:42 at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:925) 11:24:42 at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1017) 11:24:42 at hudson.scm.SCM.checkout(SCM.java:485) 11:24:42 at hudson.model.AbstractProject.checkout(AbstractProject.java:1282) 11:24:42 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610) 11:24:42 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) 11:24:42 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532) 11:24:42 at hudson.model.Run.execute(Run.java:1744) 11:24:42 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 11:24:42 at hudson.model.ResourceController.execute(ResourceController.java:98) 11:24:42 at hudson.model.Executor.run(Executor.java:374) 11:24:42 [BFA] Scanning build for known causes... 11:24:42 [BFA] No failure causes found 11:24:42 [BFA] Done. 0s 11:24:42 Notifying upstream projects of job completion 11:24:42 Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered 11:24:42 Finished: FAILURE
    via by Matt Evans,
    • 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(CliGitAPIImpl.java:1739) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1712) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1708) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1378) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1390) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.revParse(CliGitAPIImpl.java:679) at hudson.plugins.git.GitAPI.revParse(GitAPI.java:316) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:884) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:859) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:818) at hudson.remoting.UserRequest.perform(UserRequest.java:153) at hudson.remoting.UserRequest.perform(UserRequest.java:50) at hudson.remoting.Request$2.run(Request.java:332) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:85) at java.lang.Thread.run(Unknown Source)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    2 more bugmates