Skip to content

Commit

Permalink
Rename checkstyle-result.xml occurences in steps.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Oct 16, 2024
1 parent 704ec66 commit aacfa30
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ jobs:
BROWSER: chrome-container
run: |
cd plugin
mvn -V --color always -ntp clean verify '-Djenkins.test.timeout=5000' '-Dgpg.skip'
mvn -V --color always -ntp clean verify -Dquite '-Djenkins.test.timeout=5000' '-Dgpg.skip'
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public void shouldPopulateDetailsTabMultipleWarnings() {
@Test
public void shouldMemorizeSelectedTabAsActiveOnPageReload() {
FreeStyleJob job = createFreeStyleJob("checkstyle-report.xml");
job.addPublisher(IssuesRecorder.class, recorder -> recorder.setTool(CHECKSTYLE_TOOL));
job.addPublisher(IssuesRecorder.class, recorder -> recorder.setTool(CHECKSTYLE_TOOL).setPattern("**/checkstyle-report.xml"));
job.save();

Build build = job.startBuild().waitUntilFinished();
Expand All @@ -115,7 +115,7 @@ public void shouldMemorizeSelectedTabAsActiveOnPageReload() {
@Test
public void shouldWorkWithMultipleTabsAndPages() {
FreeStyleJob job = createFreeStyleJob("checkstyle-report.xml");
job.addPublisher(IssuesRecorder.class, recorder -> recorder.setTool(CHECKSTYLE_TOOL));
job.addPublisher(IssuesRecorder.class, recorder -> recorder.setTool(CHECKSTYLE_TOOL).setPattern("**/checkstyle-report.xml"));
job.save();

Build build = job.startBuild().waitUntilFinished();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public void shouldShowConfiguredToolOnlyWithLink() {

private void addCheckStyle(final FreeStyleJob job) {
job.addPublisher(IssuesRecorder.class, recorder -> {
recorder.setTool(CHECKSTYLE_TOOL);
recorder.setTool(CHECKSTYLE_TOOL).setPattern("**/checkstyle-report.xml");
recorder.setEnabledForFailure(true);
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ protected FreeStyleJob createFreeStyleJob(final String... resourcesToCopy) {

protected IssuesRecorder addAllRecorders(final FreeStyleJob job) {
return job.addPublisher(IssuesRecorder.class, recorder -> {
recorder.setTool("CheckStyle").setName(CHECK_STYLE_NAME);
recorder.setTool("CheckStyle").setName(CHECK_STYLE_NAME).setPattern("**/checkstyle-report.xml");
recorder.addTool("FindBugs");
recorder.addTool("Registered Parser",
analysisModel -> analysisModel.setAnalysisModelId("PMD"));
Expand Down

0 comments on commit aacfa30

Please sign in to comment.