-
-
Save allangrds/fffd5a6497b4f631267792c5a9fd23f1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.setInterval( | |
() => document.querySelectorAll('.build-status.failed') | |
.forEach(build => { | |
console.log('Restarting build') | |
document.querySelector('.action-button--restart').click() | |
}), | |
5000 | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment