Trigger a Travis-CI rebuild without pushing a commit?

后端 未结 16 2170
长发绾君心
长发绾君心 2020-12-12 08:21

Using Travis-CI, is it possible to trigger a rebuild without pushing a new commit to GitHub?

Use case: A build fails due to an externality. The source is actually co

16条回答
  •  醉话见心
    2020-12-12 09:18

    If you install the Travis CI Client you can use travis restart to manually re-run a build from the console. You can find the last job# for a branch using travis show

    travis show master
    travis restart 48 #use Job number without .1
    travis logs master
    

    Travis CI Client

    UPDATE: Sadly it looks like this doesn't start a new build using the latest commit, but instead just restarts a previous build using the previous state of the repo.

提交回复
热议问题