diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c84efe5a85..44ceb65eda 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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' diff --git a/ui-tests/src/test/java/io/jenkins/plugins/analysis/warnings/DetailsTabUiTest.java b/ui-tests/src/test/java/io/jenkins/plugins/analysis/warnings/DetailsTabUiTest.java index 8eafbfa10f..523cb5d03a 100644 --- a/ui-tests/src/test/java/io/jenkins/plugins/analysis/warnings/DetailsTabUiTest.java +++ b/ui-tests/src/test/java/io/jenkins/plugins/analysis/warnings/DetailsTabUiTest.java @@ -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(); @@ -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(); diff --git a/ui-tests/src/test/java/io/jenkins/plugins/analysis/warnings/IssuesColumnUiTest.java b/ui-tests/src/test/java/io/jenkins/plugins/analysis/warnings/IssuesColumnUiTest.java index 56c6265ea4..b379143e77 100644 --- a/ui-tests/src/test/java/io/jenkins/plugins/analysis/warnings/IssuesColumnUiTest.java +++ b/ui-tests/src/test/java/io/jenkins/plugins/analysis/warnings/IssuesColumnUiTest.java @@ -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); }); } diff --git a/ui-tests/src/test/java/io/jenkins/plugins/analysis/warnings/UiTest.java b/ui-tests/src/test/java/io/jenkins/plugins/analysis/warnings/UiTest.java index 4df757ab99..ece383dda0 100644 --- a/ui-tests/src/test/java/io/jenkins/plugins/analysis/warnings/UiTest.java +++ b/ui-tests/src/test/java/io/jenkins/plugins/analysis/warnings/UiTest.java @@ -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"));