-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increase coverage by testing special parameters with a build
Uses a JUnit 5 WithJenkins annotation to provide a JenkinsRule argument to the test method. The JenkinsRule argument provides access to a running Jenkins from within the test. The test creates a freestyle job and runs it twice. It changes the description of each of those builds and confirms that the change is resolved by the parameter resolver. Plugin documentation describes the parameter resolver https://plugins.jenkins.io/embeddable-build-status/#plugin-content-parameter-resolver that can be applied to builds and provides replacement text in the embeddable build status result based on the data from the build.
- Loading branch information
1 parent
604ae2e
commit 294fc40
Showing
1 changed file
with
31 additions
and
45 deletions.
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