国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

jenkins:> git init # timeout=10 ERROR: Error cloning remote repo ‘origin‘

這篇具有很好參考價值的文章主要介紹了jenkins:> git init # timeout=10 ERROR: Error cloning remote repo ‘origin‘。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點擊"舉報違法"按鈕提交疑問。

這是我在build now時遇到的報錯,此時的這個節(jié)點是從節(jié)點,剛剛搭建完成主從節(jié)點去測試能否正常進行build。然后就遇到了這個報錯

檢查時節(jié)點項目配置是沒有錯誤的。所以就是代碼沒有拉取成功,所以就想是不是從節(jié)點的主機上是沒有安裝git,導(dǎo)致無法拉取代碼。

然后從節(jié)點安裝git就能正常拉取了

jenkins:> git init  # timeout=10 ERROR: Error cloning remote repo ‘origin‘,大數(shù)據(jù),Powered by 金山文檔
jenkins:> git init  # timeout=10 ERROR: Error cloning remote repo ‘origin‘,大數(shù)據(jù),Powered by 金山文檔

Building remotely on slave1 in workspace /root/jenkins/workspace/test-slave1

The recommended git tool is: NONE

using credential aaffde15-b220-49b1-b92a-1c965b31de65

Cloning the remote Git repository

Cloning repository http://192.168.0.51/web/web.git

> git init /root/jenkins/workspace/test-slave1 # timeout=10

ERROR: Error cloning remote repo 'origin'

hudson.plugins.git.GitException: Could not init /root/jenkins/workspace/test-slave1

at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$5.execute(CliGitAPIImpl.java:1049)

at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:802)

at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:158)

at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:151)

at hudson.remoting.UserRequest.perform(UserRequest.java:211)

at hudson.remoting.UserRequest.perform(UserRequest.java:54)

at hudson.remoting.Request$2.run(Request.java:376)

at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:126)

at java.lang.Thread.run(Thread.java:748)

Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from NO4/192.168.0.53:42234

at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1784)

at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)

at hudson.remoting.Channel.call(Channel.java:1000)

at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:143)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:566)

at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:129)

at com.sun.proxy.$Proxy83.execute(Unknown Source)

at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1225)

at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1308)

at hudson.scm.SCM.checkout(SCM.java:540)

at hudson.model.AbstractProject.checkout(AbstractProject.java:1217)

at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:647)

at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:85)

at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:519)

at hudson.model.Run.execute(Run.java:1897)

at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)

at hudson.model.ResourceController.execute(ResourceController.java:101)

at hudson.model.Executor.run(Executor.java:442)

Caused by: hudson.plugins.git.GitException: Error performing git command: git init /root/jenkins/workspace/test-slave1

at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2746)

at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2660)

at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2656)

at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1981)

at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$5.execute(CliGitAPIImpl.java:1047)

... 12 more

Caused by: java.io.IOException: Cannot run program "git" (in directory "/root/jenkins/workspace/test-slave1"): error=2, 沒有那個文件或目錄

at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)

at hudson.Proc$LocalProc.<init>(Proc.java:254)

at hudson.Proc$LocalProc.<init>(Proc.java:223)

at hudson.Launcher$LocalLauncher.launch(Launcher.java:997)

at hudson.Launcher$ProcStarter.start(Launcher.java:509)

at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2727)

... 16 more

Caused by: java.io.IOException: error=2, 沒有那個文件或目錄

at java.lang.UNIXProcess.forkAndExec(Native Method)

at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)

at java.lang.ProcessImpl.start(ProcessImpl.java:134)

at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)

... 21 more

ERROR: Error cloning remote repo 'origin'

Finished: FAILURE

解決辦法:

[root@NO4 ~]# yum install -y git #安裝git文章來源地址http://www.zghlxwxcb.cn/news/detail-700089.html

到了這里,關(guān)于jenkins:> git init # timeout=10 ERROR: Error cloning remote repo ‘origin‘的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實不符,請點擊違法舉報進行投訴反饋,一經(jīng)查實,立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費用

相關(guān)文章

  • 解決在linux上git clone 時報錯 git@gitee.com: Permission denied (publickey). Could not read from remote repo

    解決在linux上git clone 時報錯 git@gitee.com: Permission denied (publickey). Could not read from remote repo

    今天在gitee上看到一個比較感興趣的項目,于是就想下載下來研究研究,結(jié)果git clone 克隆的時候報錯了,報錯如下: git@gitee.com: Permission denied (publickey).fatal: Could not read from remote repository.Please make sure you have the correct access rights and the repository exists. Permission denied (publickey) 沒有權(quán)

    2024年02月11日
    瀏覽(29)
  • 關(guān)于 IntelliJ Maven error: Repository is non-nexus repo, or is not indexed (remote update error) 的問題

    今天用IDEA maven導(dǎo)入github上一個項目的包,報了 無法解析該依賴 的錯誤 查看 File | Settings | Build, Execution, Deployment | Build Tools | Maven | Repositories 發(fā)現(xiàn)(r emote update error )無法更新遠程庫,報錯信息是 IntelliJ Maven error: Repository is non-nexus repo, or is not indexed 在互聯(lián)網(wǎng)上找了很久的解決

    2024年02月07日
    瀏覽(19)
  • git clone - error: invalid path

    git clone - error: invalid path

    遷出一個git項目時, 出現(xiàn)以下報錯. 這個庫在遠端服務(wù)器已經(jīng)clone成功了, 這個文件可以瀏覽, 內(nèi)容正常. 將遠端庫的.git Clone到本地時報錯, 是不是文件路徑太長了呢? 第一感覺就是這樣. 本地的遷出路徑為 D:3rd_prjcontikicontiki_wiki 已經(jīng)夠短的了, 沒有必要再找一個根目錄下的更短

    2024年02月08日
    瀏覽(29)
  • 【git報錯】 push git remote: ERROR: committer email address remote

    【git報錯】 push git remote: ERROR: committer email address remote

    使用git推送到分支的時候,會有這樣報錯: gerri push git remote: ERROR: committer email address remote: ERROR: does not match your user accoun ? 原因是: 本地配置的用戶名郵箱配置錯誤 。(可能是之前拉取過別的倉庫的代碼) ? ? 修改配置方法: 配置用戶名 查看已配置的用戶名 配置郵箱 查看

    2024年02月16日
    瀏覽(24)
  • 【Git】關(guān)于“git remote: error: hook declined to update”報錯的解決

    通過idea進行g(shù)it提交時,出現(xiàn) git remote: error: hook declined to update 的報錯 僅通過idea中的git報錯是無法準(zhǔn)確判斷具體原因的,只能知道提交被遠程倉庫拒絕了,但為什么拒絕并不顯示 此時,需要在項目所在目錄,打開Git Bash,進行手動 git pull 操作 可以看到更加詳細的報錯信息,然

    2024年02月15日
    瀏覽(23)
  • git clone項目報錯,The requested URL returned error: 500

    git clone項目報錯,The requested URL returned error: 500

    git clone項目報錯,The requested URL returned error: 500,如何解決?試試修改電腦中存儲的賬號密碼 有項目權(quán)限,至少在網(wǎng)頁上能通過鏈接訪問當(dāng)前Git內(nèi)容 曾在當(dāng)前電腦登錄過git賬號 滿足以上兩種情況,但執(zhí)行g(shù)it clone時卻報錯The requested URL returned error: 500 在Windows系統(tǒng)中試試以下方法

    2024年02月12日
    瀏覽(26)
  • 【git clone error:no matching key exchange method found】

    【git clone error:no matching key exchange method found】

    拉起項目代碼報錯 git clone ssh://uidxxx@gerrit-xxxxxxxx Cloning into ‘xxxxx’… Unable to negotiate with xxx.xx.xxx.ip port xxxxx: no matching key exchange method found. Their offer: diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 fatal: Could not read from remote repository. //無法讀取遠程倉庫 未找到匹配的密鑰交換方法,不

    2024年02月12日
    瀏覽(55)
  • Git error:‘fatal: Couldn‘t find remote ref master‘

    Git error:‘fatal: Couldn‘t find remote ref master‘

    如果出現(xiàn)該錯誤提示,可能是因為使用了舊命令: master現(xiàn)在被認(rèn)為是有種族歧視的,github將其換成了 main ,所以現(xiàn)在使用pull可以寫為: 如需要將已有repos的 master 換為 main ,可依照以下步驟: 1-重命名本地分支: 2-重命名遠程分支 3-刪除遠程分支 master 4-告知團隊中的其他人

    2024年02月09日
    瀏覽(33)
  • 「震驚」git error: Cloning into ‘‘... fatal: unable to access ‘https:……“

    最近在使用git,在使用git clone的時候出現(xiàn)了一些莫名其妙的問題,解決之后決定把它記錄下來,方便git初學(xué)者。 1、問題描述 2、解決方法 1、問題描述 在git clone的時候出現(xiàn)如下問題: 2、解決方法 參考博文:git報錯 fatal error 解決方法 產(chǎn)生原因:一般是這是因為服務(wù)器的SSL證

    2024年02月11日
    瀏覽(20)
  • 完美解決ubuntu中g(shù)it clone安卓內(nèi)核時報error: RPC failed; curl 56 GnuTLS recv error (-9):錯誤的處理

    在ubuntu中使用git命令從清華的開源軟件鏡像站中克隆安卓內(nèi)核,但是報如下錯誤: 查詢了一些博客,這個錯誤總結(jié)出應(yīng)該是文件過大的原因 根據(jù)參考1中的第一個問題的方法,分別執(zhí)行如下命令,問題解決: 其中,postBuffer是用于設(shè)置Http緩存,可以設(shè)置的大一些,比如1G:g

    2024年01月19日
    瀏覽(24)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包