{"push_id":2660096045,"size":1,"distinct_size":1,"ref":"refs/heads/verify_sh","head":"d03fd221f89f4e1d96bbbe3a5b642fd52a6559b8","before":"7182d9526ac293dc33b42c76dae51309a8c3cd8c","commits":[{"sha":"d03fd221f89f4e1d96bbbe3a5b642fd52a6559b8","author":{"name":"tyler-ball","email":"e0ade6e59ae450651c4b46c49641641db5e1d269@gmail.com"},"message":"Our verify scripts should fail the pipeline if any of our commands fail\n\nSigned-off-by: tyler-ball <tball@chef.io>\n\nUpdate the exit handling output for the verify script. It's worth\nnoting, because it's really hard to find info about this, that\nusing 'call' effectively blocks on that command, which is nice.\nThe other thing is that ERRORLEVEL in the context of a single cmd\nexecution will not be reset unless one specifically runs 'call set'\nin the script, so in this case the single ERRORLEVEL line acts\nas a rollup of any errors (the last failure code is saved),\nwhich works great for us. Finally, :error is actually a 'magic'\nkeyword that refers to the error handler of the script that\nactually invokes this verify script.\n\nSigned-off-by: Scott Hain <shain@chef.io>\n\nUpdate: I did not find that ERRORLEVEL was a rollup during testing.\nI had to put it after each command execution - not sure, but got\nsomething that works\n\nSigned-off-by: tyler-ball <tball@chef.io>","distinct":true,"url":"https://api.github.com/repos/chef/chef-workstation/commits/d03fd221f89f4e1d96bbbe3a5b642fd52a6559b8"}]}
{"actor":{"display_login":"tyler-ball"}}