Skip to content

Commit

Permalink
Merge pull request #56 from dwnusbaum/unignore-windows-tests
Browse files Browse the repository at this point in the history
Pick up various updates to shorten file names on Windows
  • Loading branch information
svanoort committed Nov 9, 2018
2 parents d828619 + c039bdc commit eeed790
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
14 changes: 10 additions & 4 deletions pom.xml
Expand Up @@ -28,7 +28,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>3.24</version>
<version>3.28</version>
<relativePath />
</parent>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
Expand Down Expand Up @@ -64,11 +64,11 @@
<properties>
<revision>2.13</revision>
<changelist>-SNAPSHOT</changelist>
<jenkins.version>2.73.3</jenkins.version>
<jenkins.version>2.107.3</jenkins.version>
<java.level>8</java.level>
<workflow-cps-plugin.version>2.57</workflow-cps-plugin.version>
<git-plugin.version>3.6.4</git-plugin.version>
<scm-api-plugin.version>2.2.5</scm-api-plugin.version>
<scm-api-plugin.version>2.2.7</scm-api-plugin.version>
<workflow-scm-step-plugin.version>2.4</workflow-scm-step-plugin.version>
<workflow-multibranch-plugin.version>2.10</workflow-multibranch-plugin.version>
</properties>
Expand Down Expand Up @@ -102,7 +102,7 @@
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>cloudbees-folder</artifactId>
<version>5.16</version>
<version>6.1.0</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
Expand Down Expand Up @@ -256,6 +256,12 @@
<version>1.20</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>branch-api</artifactId>
<version>2.0.21</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
Expand Down
Expand Up @@ -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;
Expand All @@ -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;
Expand All @@ -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'}}");
Expand Down

0 comments on commit eeed790

Please sign in to comment.