Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
6495336
Bump database from 117.va2009e38b882 to 128.vaa83e142f7f2 (#314)
dependabot[bot] Dec 21, 2021
654eff9
Bump byte-buddy from 1.12.3 to 1.12.6 (#328)
dependabot[bot] Dec 21, 2021
21feff3
tests are running now
Tjuri Dec 23, 2021
b232c5f
EOL JSR 305 (#331)
basil Dec 31, 2021
425a7bb
Bump git-changelist-maven-extension from 1.2 to 1.3 (#332)
dependabot[bot] Jan 3, 2022
f9fa8bf
edit pom
Tjuri Jan 4, 2022
9a99cbb
fist progress ui tests
Tjuri Jan 7, 2022
887e421
build summary tests work
Tjuri Jan 9, 2022
2f2fef0
Added page object files plus dummy test methods (both for a few useca…
NikolasFunction Jan 9, 2022
1f077e8
Added two TODOs
NikolasFunction Jan 9, 2022
3f5f942
Fixed a bug, organized imports
NikolasFunction Jan 9, 2022
221c1a0
Added error stacktrace and message, added title failures
NikolasFunction Jan 9, 2022
8539c95
merge stashed changes
Tjuri Jan 9, 2022
3e5d283
added test utils class
Tjuri Jan 9, 2022
db36b91
fixed test in build summary
Tjuri Jan 9, 2022
8054bbb
added todo for check extraction of test result text
Tjuri Jan 9, 2022
9958c4a
Fixes in junitBuildDetail
Tjuri Jan 9, 2022
c226c3f
Added tests, fixed a few things, deleted unused README
NikolasFunction Jan 9, 2022
0db2210
Merge remote-tracking branch 'origin/develop' into develop
NikolasFunction Jan 9, 2022
4d65bfd
Replaced hamcrest with assertj, fixed copy bug
NikolasFunction Jan 13, 2022
5bc7a8b
Fixed testing bug
NikolasFunction Jan 13, 2022
c373ba3
Fixed Testing Bugs
NikolasFunction Jan 13, 2022
5580459
Added build configuration UI tests. In progress.
Tjuri Jan 14, 2022
25a1b69
added junit publisher tests. in progress
Tjuri Jan 15, 2022
f146352
added test for retain long standard output error
Tjuri Jan 15, 2022
271bf79
Moved files, removed hamcrest testing, fixed openPage, fixed test
NikolasFunction Jan 16, 2022
104debe
Moved files, removed hamcrest testing, fixed openPage, fixed test
NikolasFunction Jan 16, 2022
587624b
added test for direct url navigation to test report
Tjuri Jan 16, 2022
082d67c
Refactored BuildDetails, fixed tests, implemented tests
NikolasFunction Jan 17, 2022
5164597
Bump byte-buddy from 1.12.6 to 1.12.7 (#337)
dependabot[bot] Jan 17, 2022
a64c55a
Update baseline to 2.303 (#338)
timja Jan 17, 2022
325d635
Bump github-checks from 1.0.13 to 1.0.16 (#339)
dependabot[bot] Jan 18, 2022
ede0865
Implemented tests, fixed tests, added testfiles
NikolasFunction Jan 19, 2022
995a01c
cleaned up tests.
Tjuri Jan 19, 2022
f111cef
rename and restructure tests
Tjuri Jan 19, 2022
4a9c808
Merge branch 'feature/renaming-of-test-classes' into develop
Tjuri Jan 19, 2022
e72a54a
added test verifyWithNoFailures in BuildTestResultsByPackageTest
Tjuri Jan 19, 2022
3b0f5e4
corrected author name
Tjuri Jan 19, 2022
53ce8a1
corrected descriptions of test classes
Tjuri Jan 19, 2022
4c1db9d
added more tests.
Tjuri Jan 19, 2022
2793e80
progress test implementation
Tjuri Jan 20, 2022
3e835e3
added evaluation of diff in BuildTestResultsByPackageTest
Tjuri Jan 20, 2022
ca153cd
Fixed parsing bugs
NikolasFunction Jan 20, 2022
9a77bf6
moved code for two builds with increasing test failures into utils me…
Tjuri Jan 20, 2022
65d30b4
tests for verifying differences in build failures and passed tests works
Tjuri Jan 20, 2022
edfb16f
Added new tests for regression of test. Added javaDocs to many test.
Tjuri Jan 20, 2022
f032062
Added interface for ProjectSummaryPage
NikolasFunction Jan 20, 2022
1948a76
Merge remote-tracking branch 'origin/develop' into develop
NikolasFunction Jan 20, 2022
1da2535
added more javadocs
Tjuri Jan 20, 2022
21a076d
Implemented tests (pair programming)
NikolasFunction Jan 20, 2022
2b70169
Merge remote-tracking branch 'origin/develop' into develop
NikolasFunction Jan 20, 2022
91c958c
Cleaned up ProjectSummaryTest after merge
Tjuri Jan 20, 2022
8343cb4
Removed old test
Tjuri Jan 20, 2022
1fc6342
Documented FixedCopyJobDecorator
NikolasFunction Jan 20, 2022
5637f70
Merge remote-tracking branch 'origin/develop' into develop
NikolasFunction Jan 20, 2022
75ddfe9
Refactored tests.
Tjuri Jan 20, 2022
573bbb7
Fixed test in JobConfigurationTest.
Tjuri Jan 20, 2022
5b4c1ce
Cleaned up TestDetailTest and added Javadocs.
Tjuri Jan 20, 2022
1bb2c0b
Added documentation
NikolasFunction Jan 20, 2022
8b28141
Merge remote-tracking branch 'origin/develop' into develop
NikolasFunction Jan 20, 2022
bfb40f4
Reduced redundancy in TestUtils
Tjuri Jan 20, 2022
3932b96
Merge branch 'develop' of https://github.com/NikolasFunction/junit-pl…
Tjuri Jan 20, 2022
8896a2b
Added documentation
NikolasFunction Jan 20, 2022
8637e4f
Merge remote-tracking branch 'origin/develop' into develop
NikolasFunction Jan 20, 2022
d951ffb
Added more java docs
Tjuri Jan 20, 2022
9d2a823
Fixed get title bug
NikolasFunction Jan 20, 2022
f8e6b57
Merge remote-tracking branch 'origin/develop' into develop
NikolasFunction Jan 20, 2022
b3160f0
fixed test.
Tjuri Jan 20, 2022
a777753
Created feature branch
NikolasFunction Jan 20, 2022
67dc926
fixed order of booleans
Tjuri Jan 20, 2022
692a63c
removed test
Tjuri Jan 20, 2022
b41bb85
fixed tests
Tjuri Jan 20, 2022
246795a
Merge branch 'develop' into feature/ui-tests
Tjuri Jan 20, 2022
93bc858
fixed code styling
Tjuri Jan 20, 2022
d0affb2
added javadocs
Tjuri Jan 20, 2022
da45943
edited code styling
Tjuri Jan 20, 2022
8ae96e7
Added documentation
NikolasFunction Jan 20, 2022
be8fba4
Merge remote-tracking branch 'origin/feature/ui-tests' into feature/u…
NikolasFunction Jan 20, 2022
8a2d2e5
Optimized imports
NikolasFunction Jan 20, 2022
00bfad4
private class variable
Tjuri Jan 20, 2022
a719458
Merge branch 'feature/ui-tests' of https://github.com/NikolasFunction…
Tjuri Jan 20, 2022
9887370
Bump bom-2.303.x from 1090.v0a_33df40457a_ to 1117.v62a_f6a_01de98 (#…
dependabot[bot] Jan 24, 2022
c9ef98e
Remove arrow for dropdown that does nothing (#345)
timja Jan 31, 2022
e294b1b
Don't error on old test reports (#348)
timja Feb 2, 2022
3e8298f
[maven-release-plugin] prepare release junit-1.54
timja Feb 2, 2022
2224d97
[maven-release-plugin] prepare for next development iteration
timja Feb 2, 2022
77a5cce
Utilize new table style (#347)
NotMyFault Feb 2, 2022
e28d7b9
[maven-release-plugin] prepare release junit-1.55
timja Feb 2, 2022
0fb51b7
[maven-release-plugin] prepare for next development iteration
timja Feb 2, 2022
7060ea7
Update selection of links due to removed CSS classes in https://githu…
uhafner Feb 10, 2022
bb6f5d6
Fix some typos in maven test setup (local and CI tests).
uhafner Feb 10, 2022
adac616
Add actions to run the UI tests.
uhafner Feb 10, 2022
754d9e2
Merge remote-tracking branch 'upstream/master' into feature/ui-tests
uhafner Feb 10, 2022
7010942
Merge pom.xml with `master`.
uhafner Feb 10, 2022
f6f8011
Update ui-tests.yml
timja Feb 10, 2022
40bb597
Move ui-tests workflow to correct folder.
uhafner Feb 10, 2022
8cf406a
Update selection of links due to removed CSS classes in https://githu…
uhafner Feb 10, 2022
f5fb514
Bump byte-buddy from 1.12.7 to 1.12.8 (#353)
dependabot[bot] Feb 14, 2022
0e2b337
Fix some paths due to new table layout changes.
uhafner Feb 14, 2022
d9d506e
Merge remote-tracking branch 'upstream/master' into ui-tests
uhafner Feb 15, 2022
ae69d52
Merge with master.
uhafner Feb 15, 2022
c085a11
Use JDK 11 in build.
uhafner Feb 16, 2022
4a6c035
Update steps to latest versions.
uhafner Feb 16, 2022
0f8f584
Fix Jenkinsfile configuration for JDK11.
uhafner Feb 16, 2022
ede4252
Add caching to Java setup step.
uhafner Feb 16, 2022
f4ed8b7
Fix broken yml file.
uhafner Feb 16, 2022
ba363f9
Add missing checkout.
uhafner Feb 16, 2022
ac49da6
Use `docker` agent in CI.
uhafner Feb 20, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
155 changes: 155 additions & 0 deletions .github/workflows/ui-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
name: 'Run UI tests'

on:
push:
branches:
- master
pull_request:

jobs:
build-summary:
runs-on: [ubuntu-latest]
name: Build summary UI tests

steps:
- uses: actions/[email protected]
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '11'
check-latest: true
cache: 'maven'
- name: Build junit plugin and download dependencies
run: mvn -V -ntp verify -Pskip --file plugin/pom.xml -Dgpg.skip
- name: Run UI tests for the tests summary on the build summary page of a job
env:
BROWSER: firefox-container
run: mvn -V -ntp test --file ui-tests/pom.xml -Dtest=BuildSummaryTest -Dgpg.skip -Dsurefire.rerunFailingTestsCount=1

build-results:
runs-on: [ubuntu-latest]
name: Build results UI tests

steps:
- uses: actions/[email protected]
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '11'
check-latest: true
cache: 'maven'
- name: Build junit plugin and download dependencies
run: mvn -V -ntp verify -Pskip --file plugin/pom.xml -Dgpg.skip
- name: Run UI tests for the detail view of failed unit tests of a build
env:
BROWSER: firefox-container
run: mvn -V -ntp test --file ui-tests/pom.xml -Dtest=BuildTestResultsTest -Dgpg.skip -Dsurefire.rerunFailingTestsCount=1

details:
runs-on: [ubuntu-latest]
name: Details UI tests

steps:
- uses: actions/[email protected]
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '11'
check-latest: true
cache: 'maven'
- name: Build junit plugin and download dependencies
run: mvn -V -ntp verify -Pskip --file plugin/pom.xml -Dgpg.skip
- name: Run UI tests for the detail view of a failed JUnit test
env:
BROWSER: firefox-container
run: mvn -V -ntp test --file ui-tests/pom.xml -Dtest=TestDetailTest -Dgpg.skip -Dsurefire.rerunFailingTestsCount=1

publisher:
runs-on: [ubuntu-latest]
name: Publisher UI tests

steps:
- uses: actions/[email protected]
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '11'
check-latest: true
cache: 'maven'
- name: Cache local Maven repository
uses: actions/[email protected]
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build junit plugin and download dependencies
run: mvn -V -ntp verify -Pskip --file plugin/pom.xml -Dgpg.skip
- name: Run UI tests for the job configuration of the JUnit test results report publisher
env:
BROWSER: firefox-container
run: mvn -V -ntp test --file ui-tests/pom.xml -Dtest=JobConfigurationTest -Dgpg.skip -Dsurefire.rerunFailingTestsCount=1

job-overview:
runs-on: [ubuntu-latest]
name: Job overview UI tests

steps:
- uses: actions/[email protected]
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '11'
check-latest: true
cache: 'maven'
- name: Build junit plugin and download dependencies
run: mvn -V -ntp verify -Pskip --file plugin/pom.xml -Dgpg.skip
- name: Run UI tests for the the published results of JUnit tests on the job summary page
env:
BROWSER: firefox-container
run: mvn -V -ntp test --file ui-tests/pom.xml -Dtest=JobConfigurationTest -Dgpg.skip -Dsurefire.rerunFailingTestsCount=1

class-filter:
runs-on: [ubuntu-latest]
name: Filtered by class UI tests

steps:
- uses: actions/[email protected]
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '11'
check-latest: true
cache: 'maven'
- name: Build junit plugin and download dependencies
run: mvn -V -ntp verify -Pskip --file plugin/pom.xml -Dgpg.skip
- name: Run UI tests for the unit tests results of a build which are filtered by a class
env:
BROWSER: firefox-container
run: mvn -V -ntp test --file ui-tests/pom.xml -Dtest=BuildTestResultsByClassTest -Dgpg.skip -Dsurefire.rerunFailingTestsCount=1

package-filter:
runs-on: [ubuntu-latest]
name: Filtered by package UI tests

steps:
- uses: actions/[email protected]
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '11'
check-latest: true
cache: 'maven'
- name: Build junit plugin and download dependencies
run: mvn -V -ntp verify -Pskip --file plugin/pom.xml -Dgpg.skip
- name: Run UI tests for the unit tests results of a build which are filtered by a package
env:
BROWSER: firefox-container
run: mvn -V -ntp test --file ui-tests/pom.xml -Dtest=BuildTestResultsByPackageTest -Dgpg.skip -Dsurefire.rerunFailingTestsCount=1
5 changes: 4 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
buildPlugin(useContainerAgent: true, platforms: ['linux'])
def configurations = [
[ platform: "docker", jdk: "11" ]
]
buildPlugin(configurations: configurations)
2 changes: 1 addition & 1 deletion plugin/.mvn/extensions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<extension>
<groupId>io.jenkins.tools.incrementals</groupId>
<artifactId>git-changelist-maven-extension</artifactId>
<version>1.2</version>
<version>1.3</version>
</extension>
</extensions>
16 changes: 8 additions & 8 deletions plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
<description>Allows JUnit-format test results to be published.</description>
<url>https://github.com/jenkinsci/junit-plugin</url>
<properties>
<revision>1.54</revision>
<revision>1.56</revision>
<changelist>-SNAPSHOT</changelist>
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
<jenkins.version>2.263.1</jenkins.version>
<jenkins.version>2.321</jenkins.version>
<java.level>8</java.level>
<no-test-jar>false</no-test-jar>
</properties>
Expand All @@ -30,7 +30,7 @@
<connection>scm:git:git://github.com/${gitHubRepo}.git</connection>
<developerConnection>scm:git:[email protected]:${gitHubRepo}.git</developerConnection>
<url>https://github.com/${gitHubRepo}</url>
<tag>${scmTag}</tag>
<tag>${scmTag}</tag>
</scm>
<repositories>
<repository>
Expand Down Expand Up @@ -70,7 +70,7 @@
<dependency>
<groupId>io.jenkins.plugins</groupId>
<artifactId>github-checks</artifactId>
<version>1.0.13</version>
<version>1.0.16</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -150,7 +150,7 @@
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>database</artifactId>
<version>117.va2009e38b882</version>
<version>128.vaa83e142f7f2</version>
<scope>test</scope>
<exclusions>
<exclusion> <!-- TODO move to bom in Jenkins core -->
Expand Down Expand Up @@ -191,16 +191,16 @@
<dependencies>
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.263.x</artifactId>
<version>961.vf0c9f6f59827</version>
<artifactId>bom-2.303.x</artifactId>
<version>1117.v62a_f6a_01de98</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<!-- mockito and hibernate are conflicting (both test dependencies) -->
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>1.12.3</version>
<version>1.12.8</version>
</dependency>
</dependencies>
</dependencyManagement>
Expand Down
8 changes: 4 additions & 4 deletions plugin/src/main/java/hudson/tasks/junit/CaseResult.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
import org.kohsuke.stapler.Stapler;
import org.kohsuke.stapler.export.Exported;

import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
import edu.umd.cs.findbugs.annotations.CheckForNull;
import edu.umd.cs.findbugs.annotations.NonNull;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
Expand Down Expand Up @@ -653,7 +653,7 @@ public String getFlowNodeId() {
return null;
}

@Nonnull
@NonNull
public List<String> getEnclosingFlowNodeIds() {
List<String> enclosing = new ArrayList<>();
if (parent != null) {
Expand All @@ -662,7 +662,7 @@ public List<String> getEnclosingFlowNodeIds() {
return enclosing;
}

@Nonnull
@NonNull
public List<String> getEnclosingFlowNodeNames() {
List<String> enclosing = new ArrayList<>();
if (parent != null) {
Expand Down
16 changes: 8 additions & 8 deletions plugin/src/main/java/hudson/tasks/junit/JUnitResultArchiver.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
import org.kohsuke.stapler.DataBoundSetter;
import org.kohsuke.stapler.QueryParameter;

import javax.annotation.Nonnull;
import edu.umd.cs.findbugs.annotations.NonNull;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
Expand Down Expand Up @@ -138,15 +138,15 @@ public JUnitResultArchiver(
}

@Deprecated
private TestResult parse(String expandedTestResults, Run<?,?> run, @Nonnull FilePath workspace, Launcher launcher, TaskListener listener)
private TestResult parse(String expandedTestResults, Run<?,?> run, @NonNull FilePath workspace, Launcher launcher, TaskListener listener)
throws IOException, InterruptedException
{
return parse(this, null, expandedTestResults, run, workspace, launcher, listener);

}

private static TestResult parse(@Nonnull JUnitTask task, PipelineTestDetails pipelineTestDetails,
String expandedTestResults, Run<?,?> run, @Nonnull FilePath workspace,
private static TestResult parse(@NonNull JUnitTask task, PipelineTestDetails pipelineTestDetails,
String expandedTestResults, Run<?,?> run, @NonNull FilePath workspace,
Launcher launcher, TaskListener listener)
throws IOException, InterruptedException {
return new JUnitParser(task.isKeepLongStdio(), task.isAllowEmptyResults())
Expand Down Expand Up @@ -174,7 +174,7 @@ public void perform(Run build, FilePath workspace, Launcher launcher,

/** @deprecated use {@link #parseAndSummarize} instead */
@Deprecated
public static TestResultAction parseAndAttach(@Nonnull JUnitTask task, PipelineTestDetails pipelineTestDetails,
public static TestResultAction parseAndAttach(@NonNull JUnitTask task, PipelineTestDetails pipelineTestDetails,
Run build, FilePath workspace, Launcher launcher, TaskListener listener)
throws InterruptedException, IOException {
listener.getLogger().println(Messages.JUnitResultArchiver_Recording());
Expand Down Expand Up @@ -231,7 +231,7 @@ public static TestResultAction parseAndAttach(@Nonnull JUnitTask task, PipelineT
}
}

public static TestResultSummary parseAndSummarize(@Nonnull JUnitTask task, PipelineTestDetails pipelineTestDetails,
public static TestResultSummary parseAndSummarize(@NonNull JUnitTask task, PipelineTestDetails pipelineTestDetails,
Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener)
throws InterruptedException, IOException {
JunitTestResultStorage storage = JunitTestResultStorage.find();
Expand Down Expand Up @@ -352,7 +352,7 @@ public double getHealthScaleFactor() {
this.healthScaleFactor = Math.max(0.0, healthScaleFactor);
}

@Nonnull
@NonNull
@Override
public List<TestDataPublisher> getTestDataPublishers() {
return testDataPublishers == null ? Collections.emptyList() : testDataPublishers;
Expand All @@ -363,7 +363,7 @@ public List<TestDataPublisher> getTestDataPublishers() {
*
* @since 1.2
*/
@DataBoundSetter public final void setTestDataPublishers(@Nonnull List<TestDataPublisher> testDataPublishers) {
@DataBoundSetter public final void setTestDataPublishers(@NonNull List<TestDataPublisher> testDataPublishers) {
this.testDataPublishers = new DescribableList<>(Saveable.NOOP);
this.testDataPublishers.addAll(testDataPublishers);
}
Expand Down
8 changes: 4 additions & 4 deletions plugin/src/main/java/hudson/tasks/junit/SuiteResult.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
import org.kohsuke.stapler.export.ExportedBean;
import org.xml.sax.SAXException;

import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
import edu.umd.cs.findbugs.annotations.CheckForNull;
import edu.umd.cs.findbugs.annotations.NonNull;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
Expand Down Expand Up @@ -331,7 +331,7 @@ public String getNodeId() {
* @since 1.22
*/
@Exported(visibility=9)
@Nonnull
@NonNull
public List<String> getEnclosingBlocks() {
if (enclosingBlocks != null) {
return Collections.unmodifiableList(enclosingBlocks);
Expand All @@ -346,7 +346,7 @@ public List<String> getEnclosingBlocks() {
* @since 1.22
*/
@Exported(visibility=9)
@Nonnull
@NonNull
public List<String> getEnclosingBlockNames() {
if (enclosingBlockNames != null) {
return Collections.unmodifiableList(enclosingBlockNames);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
import jenkins.model.Jenkins;

import java.io.IOException;
import javax.annotation.Nonnull;
import edu.umd.cs.findbugs.annotations.NonNull;

/**
* Contributes {@link TestAction}s to test results.
Expand Down Expand Up @@ -69,7 +69,7 @@ public abstract class TestDataPublisher extends AbstractDescribableImpl<TestData
* @since 1.2-beta-1
*/
public TestResultAction.Data contributeTestData(
Run<?,?> run, @Nonnull FilePath workspace, Launcher launcher,
Run<?,?> run, @NonNull FilePath workspace, Launcher launcher,
TaskListener listener, TestResult testResult) throws IOException, InterruptedException {
if (run instanceof AbstractBuild && listener instanceof BuildListener) {
return getTestData((AbstractBuild) run, launcher, (BuildListener) listener, testResult);
Expand Down
Loading