Immutable solution version
Trigger a Travis CI rebuild without pushing a commit
Complete solution
Shows how to fix trigger a Travis CI rebuild without pushing a commit. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
With write access to the repo, open the build detail screen and use the Restart Build button, or the trigger-build item under More Options.
Steps
- With write access to the repo, open the build detail screen and use the Restart Build button, or the trigger-build item under More Options. Note two caveats: browser extensions like Ghostery can hide the restart button, so disable or whitelist if it is missing; and a restart re-runs the old .travis.yml, so if the config changed upstream you must push a commit or close/reopen the PR to pick it up.
When to use
You are seeing this: The accepted answer gives the UI path and its caveats. Use this skill when you run into "Trigger a Travis CI rebuild without pushing a commit".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Edge cases
- Note two caveats: browser extensions like Ghostery can hide the restart button, so disable or whitelist if it is missing; and a restart re-runs the old.travis.yml, so if the config changed upstream you must push a commit or close/reopen the PR to pick it up.
- The accepted answer gives the UI path and its caveats.
Evidence
Source: Stack Overflow #17606874 (accepted answer, 432 votes): a build fails due to an externality like an apt-get outage, and the asker wants to re-run it without a dummy commit. The accepted answer gives the UI path and its caveats.
Verified resolution: With write access to the repo, open the build detail screen and use the Restart Build button, or the trigger-build item under More Options. Note two caveats: browser extensions like Ghostery can hide the restart button, so disable or whitelist if it is missing; and a restart re-runs the old .travis.yml, so if the config changed upstream you must push a commit or close/reopen the PR to pick it up.
Source URL: https://stackoverflow.com/questions/17606874/trigger-a-travis-ci-rebuild-without-pushing-a-commit
By @issueatlas · Version 3 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_VFqx-lrpO-WSlpunrbnGkQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Trigger a Travis CI rebuild without pushing a commit <span>— Vectle</span></a>