- Clone this repo
- Run
bundle install
- Run the script:
bundle exec ruby semaphore_parser.rb <semaphoreCI_auth_token> <project_name> <branch_name> <build_number> (<folder>)
- Improve terminal interface
- Open the build in Semaphore
- Open the Javascript console (CMD + ALT + J in OS X)
- Refresh the page
- Enter this into the console to open all threads:
var threads = $(".c-results_thread-box"); for (var i = 0; i < threads.length; i++) { threads[i].click(); }
- Once all the threads are opened and fully loaded, save the page with CMD + S
- Run the script:
bundle exec ruby semaphore_parser_old.rb build.html <folder>
(wherebuild.html
is the semaphore build you saved, and<folder>
(optional) is where you want the output saved)