diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 00000000..5399dafd --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,12 @@ +/* +See the documentation for more options: +https://github.com/jenkins-infra/pipeline-library/ +*/ +buildPlugin( + forkCount: '1C', // Run a JVM per core in tests + useContainerAgent: true, // Set to `false` if you need to use Docker for containerized tests + configurations: [ + [platform: 'linux', jdk: 17], + [platform: 'windows', jdk: 11] + ] +) \ No newline at end of file diff --git a/pom.xml b/pom.xml index 6eafd681..34a2421e 100644 --- a/pom.xml +++ b/pom.xml @@ -39,8 +39,8 @@ <dependencies> <dependency> <groupId>io.jenkins.tools.bom</groupId> - <artifactId>bom-2.426.x</artifactId> - <version>2839.v003b_4d9d24fd</version> + <artifactId>bom-weekly</artifactId> + <version>4023.va_eeb_b_4e45f07</version> <type>pom</type> <scope>import</scope> </dependency> diff --git a/src/main/java/org/jenkinsci/plugins/unity3d/io/Pipe.java b/src/main/java/org/jenkinsci/plugins/unity3d/io/Pipe.java index 899151f4..45a4e87b 100644 --- a/src/main/java/org/jenkinsci/plugins/unity3d/io/Pipe.java +++ b/src/main/java/org/jenkinsci/plugins/unity3d/io/Pipe.java @@ -7,8 +7,6 @@ import java.io.InputStream; import java.io.IOException; -import java.io.PipedInputStream; -import java.io.PipedOutputStream; import java.io.OutputStream; /** diff --git a/src/test/java/org/jenkinsci/plugins/unity3d/IntegrationTests.java b/src/test/java/org/jenkinsci/plugins/unity3d/IntegrationTests.java index b1121dad..16fbc19d 100644 --- a/src/test/java/org/jenkinsci/plugins/unity3d/IntegrationTests.java +++ b/src/test/java/org/jenkinsci/plugins/unity3d/IntegrationTests.java @@ -4,7 +4,6 @@ import hudson.model.FreeStyleProject; import hudson.model.Result; import org.apache.commons.io.FileUtils; -import org.junit.Ignore; import org.junit.Test; import org.jvnet.hudson.test.HudsonTestCase; import org.jvnet.hudson.test.recipes.LocalData;