2
今天我在openshift應用上啓用了Jenkins。我登錄了jenkins網址,但沒有更改任何配置設置。今天晚些時候我試圖$ git push
我的網站的新版本。但我得到了以下錯誤:在openshift上執行'gear postreceive'時發生錯誤
$ git push origin
Counting objects: 17, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (9/9), done.
Writing objects: 100% (9/9), 917 bytes | 0 bytes/s, done.
Total 9 (delta 7), reused 0 (delta 0)
remote: Executing Jenkins build.
remote:
remote: You can track your build at https://jenkins-namespace.rhcloud.com/job/app-build
remote:
remote: Waiting for build to schedule......
remote: **BUILD FAILED/CANCELLED**
remote: Please see the Jenkins log for more details via 'rhc tail'
remote: !!!!!!!!
remote: Deployment Halted!
remote: If the build failed before the deploy step, your previous
remote: build is still running. Otherwise, your application may be
remote: partially deployed or inaccessible.
remote: Fix the build and try again.
remote: !!!!!!!!
remote: An error occurred executing 'gear postreceive' (exit code: 1)
remote: Error message: CLIENT_ERROR: Failed to execute: 'control post-receive' for /var/lib/openshift/52UUID/jenkins-client
remote:
remote: For more details about the problem, try running the command again with the '--trace' option.
To ssh://[email protected]/~/git/app.git/
6a9fe46..a551871 master -> master
所以我跑$rhc tail jenkins
:
Jul 10, 2015 2:43:45 PM hudson.plugins.openshift.OpenShiftCloud hasCapacity
INFO: No capacity remaining. Not provisioning...
Jul 10, 2015 2:43:45 PM hudson.plugins.openshift.OpenShiftCloud provisionSlave
INFO: Not provisioning new builder due to lack of capacity
Jul 10, 2015 2:43:45 PM hudson.plugins.openshift.OpenShiftCloud provision
INFO: Provisioned 0 new nodes
Jul 10, 2015 2:43:45 PM hudson.plugins.openshift.OpenShiftCloud cancelItem
INFO: Cancelling Item
Jul 10, 2015 2:43:45 PM hudson.plugins.openshift.OpenShiftCloud cancelItem
WARNING: Build app-build appbldr has been canceled
所以我想我有能力的不足。所以我檢查$ rhc show-app app --gears quota
:
Gear Cartridges Used Limit
------------------------ --------------------------------------------------- ------ -----
52UUID python-2.7 postgresql-9.2 cron-1.4 jenkins-client-1 0.9 GB 1 GB
0.9GB滿分1GB。我已經刪除了日誌並運行了rhc tidy命令。我最新的數據庫備份有14MB(兩天前,還沒有測試過它是否已滿),我的應用程序有35MB的文件,圖像,js庫等。
我不想在這裏處理容量問題,而是多少詹金斯推動需要成功嗎? 我是學生,我使用openshift進行學生項目,所以我現在想避免升級。謝謝。