Last active
June 14, 2018 14:05
-
-
Save dennishall1/301ef460e9f9b237ffd849b6c85f1f61 to your computer and use it in GitHub Desktop.
go (lang) pipelines - browser alert when build is done
This file contains hidden or 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
timer = setInterval(function(){ | |
if(!document.querySelector('a.pipeline_stage[href*="vans-test-6"]').classList.contains('building')){ | |
clearInterval(timer); | |
alert('done'); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment