Skip to content

Instantly share code, notes, and snippets.

@dmclean62
Created July 31, 2020 19:51
Show Gist options
  • Save dmclean62/df82afabb069eb0199a4c35f487015b1 to your computer and use it in GitHub Desktop.
Save dmclean62/df82afabb069eb0199a4c35f487015b1 to your computer and use it in GitHub Desktop.
Triggered by <a href="https://hostname/OED_DSB/prompt/merge_requests/1" target="_blank">GitLab Merge Request #1</a>: OED_DSB/PROMPT-49 => master
Checking out git git@hostname:OED_DSB/prompt.git into /local/jenkins/workspace/DSB/PROMPT Change Integration@script to read Jenkinsfile.ci
using credential dsb_service_ssh
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url git@hostname:OED_DSB/prompt.git # timeout=10
Fetching upstream changes from git@hostname:OED_DSB/prompt.git
> git --version # timeout=10
using GIT_SSH to set credentials SSH key for dsb_service
> git fetch --tags --progress git@hostname:OED_DSB/prompt.git refs/changes/*:refs/changes/* # timeout=10
> git rev-parse 14f6e9cfbfa8198c047e6e18c2d804e869a487b6^{commit} # timeout=10
ERROR: Checkout failed
hudson.plugins.git.GitException: Command "git rev-parse 14f6e9cfbfa8198c047e6e18c2d804e869a487b6^{commit}" returned status code 128:
stdout: 14f6e9cfbfa8198c047e6e18c2d804e869a487b6^{commit}
stderr: fatal: ambiguous argument '14f6e9cfbfa8198c047e6e18c2d804e869a487b6^{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:2372)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2302)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2298)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1857)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1869)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.revParse(CliGitAPIImpl.java:994)
at hudson.plugins.git.GitAPI.revParse(GitAPI.java:316)
at hudson.plugins.git.RevisionParameterAction.toRevision(RevisionParameterAction.java:98)
at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:1029)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1146)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:124)
at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:155)
at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:69)
at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:299)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:427)
ERROR: Maximum checkout retry attempts reached, aborting
Finished: FAILURE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment