Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-31886] Added support for Selenium Html Report plugin
Added a release notes for seleniumhtmlreport Plugin
- Loading branch information
Showing
5 changed files
with
79 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
...docs/examples/javaposse/jobdsl/dsl/helpers/publisher/PublisherContext/seleniumHtml.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
job('example') { | ||
publishers { | ||
seleniumHtml('target/test-output') { | ||
failOnExceptions() | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
...sl-core/src/main/groovy/javaposse/jobdsl/dsl/helpers/publisher/SeleniumHtmlContext.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package javaposse.jobdsl.dsl.helpers.publisher | ||
|
||
import javaposse.jobdsl.dsl.Context | ||
|
||
class SeleniumHtmlContext implements Context { | ||
boolean failOnExceptions = true | ||
|
||
/** | ||
* If set, Set build result state to failure if an exception occurred while parsing result files. | ||
* Defaults to {@code true}. | ||
*/ | ||
void failOnExceptions(boolean failOnExceptions = true) { | ||
this.failOnExceptions = failOnExceptions | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters