Travis-CI doesn't let me rebuild a test

亡梦爱人 提交于 2020-02-28 04:49:53

问题


We are using Travis-CI to test our project (Speedy Net). A test failed and I want to rebuild it. I checked this answer but it doesn't work for me. This changed recently. I'm the owner of this organization on GitHub but on Travis CI I'm not a member of any organization. On this build's page I don't have any rebuild button. What can I do to be able to rebuild this test?

Travis CI for Open Source


回答1:


It depends, if the test is triggered via a pull request then it is as simple as closing then reopening that pull request.

If you are triggering the test in another way then do that thing again, e.g. push --force-with-lease, commit --allow-empty, etc. to restart the process.

Basically if a build fails because for example, a host is unreachable temporarily in the test/build setup rather than any issue with the code, then trigger the build again in the same way you did originally.



来源:https://stackoverflow.com/questions/60234832/travis-ci-doesnt-let-me-rebuild-a-test

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!