Jenkins Integration
- Create a new pipeline.
- Using 'pipeline from SCM', select this repository.
- Set script path to
examples/jenkins/Jenkinsfile - Save
- Click
Build Nowto run a Jenkins build. - When build is finished, observe the results by clicking on the build in the
Build Historypane. - Observe any failed tests.
If you want to ignore any specific error keys, or severity during the build, edit the .insightsignore file and commit this change to the repo. The .insightsignore file is a JSON-formatted file that looks like the following:
"ignore_rule": [
],
"ignore_severity": [
"INFO",
"WARN",
"ERROR"
]
In this example config, we ignore all but CRITICAL severity rules.