Skip to content

Instantly share code, notes, and snippets.

@jay-johnson
Last active July 19, 2016 14:03
Show Gist options
  • Save jay-johnson/2200e661759725d4c72d58227640cfdd to your computer and use it in GitHub Desktop.
Save jay-johnson/2200e661759725d4c72d58227640cfdd to your computer and use it in GitHub Desktop.
Error out on any unsupported test
else
{
err_msg = "Missing Test(${test_num})"
echo "ERROR: ${err_msg}"
currentBuild.result = 'FAILURE'
error "Failed to finish container testing with Message(${err_msg})"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment