0
ジーンズのgitプラグインを使ってgitリポジトリを複製しようとしていますが、複製できません。ここにエラーログがあります。ジーンズを使ってGitリポジトリに接続できない
私はgitアカウントを使用して私のリポジトリにアクセスしています。 "TEST"はサンプルリポジトリ名です。 `標準エラー: 'C:\プログラム'
Started by user admin
Building in workspace C:\Program Files (x86)\Jenkins\workspace\EMR
> git.exe rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git.exe config remote.origin.url (GIT REPOSITORY) # timeout=10
Fetching upstream changes from (GIT REPOSITORY)
> git.exe --version # timeout=10
using GIT_ASKPASS to set credentials
> git.exe fetch --tags --progress (GIT REPOSITORY) +refs/heads/*:refs/remotes/origin/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from (GIT REPOSITORY)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:809)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1076)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1107)
at hudson.scm.SCM.checkout(SCM.java:496)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1281)
at `enter code here`hudson.model.Abstr`enter code here`actBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
at hudson.model.Run.execute(Run.java:1728)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:405)
Caused by: hudson.plugins.git.GitException: Command "git.exe fetch --tags --progress (GIT REPOSITORY) +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout:
stderr: 'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
error: unable to read askpass response from 'C:\Program Files (x86)\Jenkins\workspace\[email protected]\pass9041537171474807536.bat'
bash: /dev/tty: No such device or address
error: failed to execute prompt script (exit code 1)
fatal: could not read Username for 'https://github.com': No error
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1877)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1596)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:71)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:348)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:807)
... 11 more
ERROR: null
Finished: FAILURE
ルートエラーがある、内部または外部command'として認識されていません。あなたはジェンキンスの仕事の構成を共有できますか?空白を含むパスがある場合は、文字列全体を引用符で囲む必要があります。 –
ありがとう@MattClark 私はgitのバージョンを更新しましたが、このエラーは解決しました。しかし、まだgitリポジトリを取得することができません。今回は待っているだけです。 エラー:10分後のタイムアウト エラー:プロセスへの参加に失敗しました – Javed