与travis ci和openshift持续集成

时间:2013-11-07 10:12:22

标签: git continuous-integration openshift travis-ci

我尝试与travis和openshift持续集成。

Travis log

Total 387 (delta 202), reused 387 (delta 202)
error: Could not read f296a9effed3a7c3f86be451613e529c1818667b
fatal: revision walk setup failed
error: Could not read f296a9effed3a7c3f86be451613e529c1818667b
fatal: revision walk setup failed
remote: Stopping MongoDB cartridge[K
remote: Stopping Ruby cartridge[K
remote: [Wed Nov 06 16:24:47 2013] [warn] PassEnv variable SHELL was undefined[K
remote: [Wed Nov 06 16:24:47 2013] [warn] PassEnv variable USER was undefined[K
remote: [Wed Nov 06 16:24:47 2013] [warn] PassEnv variable LOGNAME was undefined[K
To ssh://527aafeb5973caf4e90007ca@audioblog-l33tname.rhcloud.com/~/git/audioblog.git/
 ! [remote rejected] master -> master (missing necessary objects)
error: failed to push some refs to 'ssh://527aafeb5973caf4e90007ca@audioblog-l33tname.rhcloud.com/~/git/audioblog.git/'

我的问题是:这个错误意味着什么或我做错了什么?

我试图重新创建openshift应用程序。并在我的.travis.yml文件中查看我的密码。

1 个答案:

答案 0 :(得分:0)

我从我的本地git存储库git push -f openshift master

推送它

<强>的.git /配置

[remote "openshift"]
    url = ssh://527aafeb5973caf4e90007ca@audioblog-l33tname.rhcloud.com/~/git/audioblog.git/
    fetch = +refs/heads/*:refs/remotes/openshift/*

现在再次部署,但我仍然对为什么会发生这种情况感兴趣。