Skip to content
Permalink
Browse files

[JENKINS-34439] Clover plugin still has problems with pipeline builds

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 18ee1071bc3c3ffc64d6ea0f9c3144c84e04bf03
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/test/java/hudson/plugins/clover/CloverBuildActionTest.java
@@ -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

0 comments on commit 18ee107

Please sign in to comment.
You can’t perform that action at this time.