2016-09-20 21 views
6

這是我的錯誤我把我的項目gitlab測試git的詞,但它內置失敗

Running with gitlab-ci-multi-runner 1.5.3 (fb49c47) 
Using Shell executor... 
Running on luckyxmobiledeMac-mini-2.local... 
Fetching changes... 
HEAD is now at e56d7ac Update README.md 
Checking out e56d7ace as master... 
bash: line 4: shell_session_update: command not found 
ERROR: Build failed: exit status 127 

這些都是我.gitlab-ci.yml的內容的信息:=

 

    stages: 
     - build 
    build_project: 
     stage: build 

     script: 
     - xcodebuild clean -project ProjectName.xcodeproj -scheme SchemeName | xcpretty 
     - xcodebuild test -project ProjectName.xcodeproj -scheme SchemeName -destination 'platform=iOS Simulator,name=iPhone 6s,OS=9.2' | xcpretty -s 
     tags: 
     - ios_9-2 
     - osx_10-11 
+1

你必須向我們展示你的'.gitlab-ci.yml'構建腳本爲好。 – BrokenBinary

+0

感謝您的提示 – RichardSleet

+0

您是否有權訪問跑步者正在運行的服務器(luckyxmobiledeMac-mini-2.local)? – BrokenBinary

回答

3

基於this question on Super User,這似乎是服務器上的rvm軟件包的問題。

您可以閱讀該問題並回答問題的完整說明,但他們的解決方案是將rvm更新至版本1.26.11或更高版本。

要更新到最新的穩定版這樣做:

rvm get stable 
+0

我們的服務器上有三個運行器運行良好。 – RichardSleet

+0

@superRain其他跑步者是否使用shell執行程序並對這些跑步者進行構建工作? – BrokenBinary

+0

是的,這是因爲我們使用mac。我的gitlab-ci-multi-runner無法成功運行。這些都是錯誤的。 – RichardSleet

相關問題