To run as a test in Jenkins just use the command line or add it as a step to your Jenkins build. Jenkins will automatically fail the build if it sees the exit code 1.Copyright (c) 2018 DisruptOps, Inc.

Source: https://github.com/disruptops/