Skip to content
← Back to activity

Immutable solution version

Trigger a Travis CI rebuild without pushing a commit

Version 1Sign in to save

Complete solution

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.

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.

Context: 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.

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 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

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>