-
Notifications
You must be signed in to change notification settings - Fork 179
6 Configuring Jenkins
Continuum Security edited this page May 7, 2016
·
2 revisions
Since Cucumber produces JUnit output, BDD-Security can be run and the results used by Jenkins without any additional plugins.
Use a Gradle build task and set Cucumber options in the 'Tasks' section, e.g.:
-Dcucumber.options="--tags @authentication,@http_headers --tags ~@skip"
Add a Post-Build Action to publish JUnit test results and set the Test report XMLs to: build/reports/junit/*.xml
There are at least two HTML reporting plugins that can be used with Cucumber to produce good looking and easily navigable reports:
Add a Post-Build Action and set the JSON reports path to: build/reports
Add a Post-Build Action and set the JSON reports path to: build/reports