2017-06-27 9 views
0

私はbitbucketプライベートレポをjenkinsに接続しようとしています。 BitbucketにWebhookをセットアップしました。 Jenkinsに資格情報を追加しました。それでも私のビルドは固まってしまい、Bitbucketからソースを引き出すことはできません。 私は公的なbitbucketリポジトリに接続しようとしていて、うまくいきましたのでプライベートレポだけであることは分かっています。ここ Jenkinsがプライベートbitbucketクラウドレポからコードを取得できません

は、私はジェンキンスに取得していますエラーです

ERROR: Error fetching remote repo 'origin' 
hudson.plugins.git.GitException: Failed to fetch from https://[email protected]/xxxxx/test2.git 
    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:495) 
    at hudson.model.AbstractProject.checkout(AbstractProject.java:1281) 
    at hudson.model.AbstractBuild$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:1735) 
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 
    at hudson.model.ResourceController.execute(ResourceController.java:97) 
    at hudson.model.Executor.run(Executor.java:405) 
Caused by: hudson.plugins.git.GitException: Error performing git command 
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1886) 
    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 
Caused by: org.jvnet.winp.WinpException: Failed to read RT_USER_PROCESS_PARAMETERS error=299 at envvar-cmdline.cpp:151 
    at org.jvnet.winp.Native.getCmdLineAndEnvVars(Native Method) 
    at org.jvnet.winp.WinProcess.parseCmdLineAndEnvVars(WinProcess.java:126) 
    at org.jvnet.winp.WinProcess.getCommandLine(WinProcess.java:102) 
    at hudson.util.ProcessTree$WindowsOSProcess.getArguments(ProcessTree.java:451) 
    at hudson.plugins.msbuild.MsBuildKillingVeto.vetoProcessKilling(MsBuildKillingVeto.java:56) 
    at hudson.util.ProcessTree$OSProcess.getVeto(ProcessTree.java:243) 
    at hudson.util.ProcessTree$WindowsOSProcess.killRecursively(ProcessTree.java:429) 
    at hudson.util.ProcessTree.killAll(ProcessTree.java:146) 
    at hudson.Proc$LocalProc.destroy(Proc.java:380) 
    at hudson.Proc$LocalProc.join(Proc.java:353) 
    at hudson.Proc.joinWithTimeout(Proc.java:166) 
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1873) 
    ... 15 more 
ERROR: null 
Finished: FAILURE 

さらに研究:

1)私は、同じコマンドを実行することができています(C:\プログラムファイル\のGit \ビン\ - それは成功したリモートレポをフェッチしていますレフリー/リモコン/リリース/)同じ場所に(ジェンキンスワークスペース):/--tags --progress https://[email protected]/xxx/test.git +レフリー/ヘッドをフェッチgit.exe。

2)ジェンキンズは、パブリックリポジトリコンテンツを取得してダウンロードすることができます。 3.3.1 のGitクライアントプラグイン - - 2.4.6 資格情報は、プラグイン - 2.1.13
ジェンキンス -

3)これは、初回セットアップは、のように更新されたすべてのプラグインで

Gitのプラグインである2.59

私はジェンキンズがコマンドを実行することができないので、他に何ができるのだろうと思いませんか?

誰かが助けてくれますか?失敗する可能性があり、物事の

答えて

1

チェックリスト:あなたは、プロトコルの変更、パスワードで

EDIT:

  • ソリューション:はあなたが別のレポをしようとしたことがありますか?
+0

私はGitのプラグイン3.3.0と2.1.13プラグインの資格情報を使用しています。私はそれを確認するために私はパスワードのカップルの更新されたパスワードが正しいと確信しています。私はパスワード "括弧"に特殊文字を持っています。それが問題になると思いますか? – Meet101

+0

私は私のレポのパスワードを更新し、特殊文字を削除しました。まだ同じエラーが発生しています。 – Meet101

+0

私はhttpとsshの両方で試してみました私の答え –

関連する問題