diff --git a/pom.xml b/pom.xml index 72337258..3d6432da 100644 --- a/pom.xml +++ b/pom.xml @@ -28,7 +28,7 @@ org.jenkins-ci.plugins plugin - 3.24 + 3.28 org.jenkins-ci.plugins.workflow @@ -64,11 +64,11 @@ 2.13 -SNAPSHOT - 2.73.3 + 2.107.3 8 2.57 3.6.4 - 2.2.5 + 2.2.7 2.4 2.10 @@ -102,7 +102,7 @@ org.jenkins-ci.plugins cloudbees-folder - 5.16 + 6.1.0 org.jenkins-ci.plugins.workflow @@ -256,6 +256,12 @@ 1.20 test + + org.jenkins-ci.plugins + branch-api + 2.0.21 + test + diff --git a/src/test/java/org/jenkinsci/plugins/workflow/libs/SCMRetrieverTest.java b/src/test/java/org/jenkinsci/plugins/workflow/libs/SCMRetrieverTest.java index c3875767..e4f0cf87 100644 --- a/src/test/java/org/jenkinsci/plugins/workflow/libs/SCMRetrieverTest.java +++ b/src/test/java/org/jenkinsci/plugins/workflow/libs/SCMRetrieverTest.java @@ -24,7 +24,6 @@ package org.jenkinsci.plugins.workflow.libs; -import hudson.Functions; import java.util.Collections; import jenkins.branch.BranchSource; import jenkins.plugins.git.GitSCMSource; @@ -35,7 +34,6 @@ import org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject; import org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProjectTest; import org.jenkinsci.plugins.workflow.test.steps.SemaphoreStep; -import org.junit.Assume; import org.junit.ClassRule; import org.junit.Test; import org.junit.Rule; @@ -51,7 +49,6 @@ public class SCMRetrieverTest { @Url("https://stackoverflow.com/a/49112612/12916") @Test public void selfTestLibraries() throws Exception { - Assume.assumeFalse("File names are too long for Windows", Functions.isWindows()); // Related to changes in plugin-pom version 3.22. sampleRepo.init(); sampleRepo.write("vars/greet.groovy", "def call(recipient) {echo(/hello to $recipient/)}"); sampleRepo.write("src/pkg/Clazz.groovy", "package pkg; class Clazz {static String whereAmI() {'earth'}}");