Skip to content

Commit

Permalink
[JENKINS-34439] Clover plugin still has problems with pipeline builds
Browse files Browse the repository at this point in the history
Clover action not displayed on workflow job main page.

CloverBuildActionTest.java
- Test extended with checking if CloverProjectAction is added properly to Job
  • Loading branch information
piomis committed Jun 24, 2017
1 parent a58061c commit 18ee107
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -63,6 +63,9 @@ private void checkCloverReports(Run<?, ?> build, Job<?, ?> project) throws Excep
CloverBuildAction cloverBuildAction = build.getAction(CloverBuildAction.class);
assertNotNull("CloverBuildAction should be not Null", cloverBuildAction);

CloverProjectAction cloverProjectAction = project.getAction(CloverProjectAction.class);
assertNotNull("CloverProjectAction should be not Null", cloverProjectAction);

//Access clover reports
JenkinsRule.WebClient wc = j.createWebClient();
wc.getPage(project); // project page
Expand Down

0 comments on commit 18ee107

Please sign in to comment.