Skip to content

Commit 98212b4

Browse files
committed
Require 2.346.3
1 parent 58839f0 commit 98212b4

File tree

9 files changed

+14
-18
lines changed

9 files changed

+14
-18
lines changed

pom.xml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,18 @@
44
<parent>
55
<groupId>org.jenkins-ci.plugins</groupId>
66
<artifactId>plugin</artifactId>
7-
<version>4.16</version>
7+
<version>4.51</version>
8+
<relativePath />
89
</parent>
910
<properties>
10-
<jenkins.version>2.338</jenkins.version>
11-
<java.level>8</java.level>
11+
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
12+
<jenkins.baseline>2.346</jenkins.baseline>
13+
<jenkins.version>${jenkins.baseline}.3</jenkins.version>
1214
<hudsonTags>buildwrapper</hudsonTags>
1315
<findbugs.skip>true</findbugs.skip>
1416
</properties>
1517
<scm>
16-
<connection>scm:git:git://github.com/jenkinsci/testingbot-plugin.git</connection>
18+
<connection>scm:git:https://github.com/jenkinsci/testingbot-plugin.git</connection>
1719
<developerConnection>scm:git:git@github.com:jenkinsci/testingbot-plugin.git</developerConnection>
1820
<tag>testingbot-1.20-SNAPSHOT</tag>
1921
</scm>
@@ -67,8 +69,8 @@
6769
<dependencies>
6870
<dependency>
6971
<groupId>io.jenkins.tools.bom</groupId>
70-
<artifactId>bom-2.235.x</artifactId>
71-
<version>25</version>
72+
<artifactId>bom-${jenkins.baseline}.x</artifactId>
73+
<version>1763.v092b_8980a_f5e</version>
7274
<scope>import</scope>
7375
<type>pom</type>
7476
</dependency>

src/main/java/testingbot/TestingBotBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
import hudson.tasks.Builder;
1010
import hudson.tasks.BuildStepDescriptor;
1111
import hudson.util.ListBoxModel;
12-
import java.io.*;
12+
import java.io.File;
13+
import java.io.IOException;
1314
import net.sf.json.JSONObject;
1415
import org.kohsuke.stapler.DataBoundConstructor;
1516
import org.kohsuke.stapler.StaplerRequest;
1617

17-
import java.nio.file.Paths;
1818
import com.cloudbees.plugins.credentials.CredentialsMatchers;
1919
import com.cloudbees.plugins.credentials.CredentialsProvider;
2020
import com.cloudbees.plugins.credentials.common.StandardListBoxModel;

src/main/java/testingbot/TestingBotCredentials.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
import com.cloudbees.plugins.credentials.common.IdCredentials;
2121
import com.cloudbees.plugins.credentials.common.StandardCredentials;
2222
import com.cloudbees.plugins.credentials.domains.Domain;
23-
import com.cloudbees.plugins.credentials.domains.DomainRequirement;
2423
import com.cloudbees.plugins.credentials.impl.BaseStandardCredentials;
2524
import edu.umd.cs.findbugs.annotations.CheckForNull;
2625
import edu.umd.cs.findbugs.annotations.NonNull;

src/main/java/testingbot/TestingBotReport.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@
66
*/
77
import com.testingbot.testingbotrest.TestingbotREST;
88
import hudson.model.AbstractBuild;
9-
import hudson.model.Run;
109
import hudson.tasks.junit.CaseResult;
1110
import hudson.tasks.junit.TestAction;
1211
import java.util.Collections;
1312
import java.util.List;
14-
import testingbot.TestingBotBuildWrapper.BuildWrapperItem;
1513

1614
/**
1715
* Show videos for the tests.

src/main/java/testingbot/TestingBotTestEmbed.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@
22

33
import hudson.model.Run;
44
import jenkins.model.RunAction2;
5-
import org.kohsuke.stapler.Stapler;
65
import org.kohsuke.stapler.StaplerRequest;
76
import org.kohsuke.stapler.StaplerResponse;
87

98
import javax.servlet.ServletException;
109
import java.io.IOException;
1110
import java.util.List;
12-
import java.util.logging.Level;
1311
import java.util.logging.Logger;
1412

1513
public class TestingBotTestEmbed implements RunAction2 {

src/main/java/testingbot/pipeline/TestingBotStep.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
import com.cloudbees.plugins.credentials.CredentialsProvider;
1717
import com.cloudbees.plugins.credentials.common.StandardListBoxModel;
18-
import com.cloudbees.plugins.credentials.common.StandardUsernameListBoxModel;
1918
import com.cloudbees.plugins.credentials.domains.DomainRequirement;
2019
import com.google.inject.Inject;
2120
import hudson.Extension;

src/main/java/testingbot/pipeline/TestingBotTestPublisher.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import java.util.ArrayList;
2222
import java.util.Collections;
2323
import java.util.List;
24-
import java.util.Map;
2524
import testingbot.TestReporter;
2625

2726
public class TestingBotTestPublisher extends Recorder implements SimpleBuildStep {

src/main/java/testingbot/pipeline/TestingBotTunnelStep.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
package testingbot.pipeline;
22

3-
import com.cloudbees.plugins.credentials.CredentialsMatchers;
43
import com.cloudbees.plugins.credentials.CredentialsProvider;
54
import com.cloudbees.plugins.credentials.common.StandardListBoxModel;
6-
import com.cloudbees.plugins.credentials.common.StandardUsernameListBoxModel;
75
import com.cloudbees.plugins.credentials.domains.DomainRequirement;
86
import com.google.inject.Inject;
97
import com.testingbot.tunnel.Api;
108
import com.testingbot.tunnel.App;
119
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
1210
import hudson.Extension;
13-
import hudson.Util;
1411
import hudson.model.Computer;
1512
import hudson.model.Item;
1613
import hudson.model.Job;

src/main/resources/index.jelly

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?jelly escape-by-default='true'?>
2+
<div>
3+
This plugin integrates videos/screenshots of your TestingBot.com Selenium tests
4+
</div>

0 commit comments

Comments
 (0)