Skip to content

Commit

Permalink
Merge pull request #203 from basil/pom
Browse files Browse the repository at this point in the history
Update parent POMs
  • Loading branch information
basil authored May 4, 2020
2 parents 32b6c66 + f39b010 commit bf722bd
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 28 deletions.
3 changes: 2 additions & 1 deletion client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.jenkins-ci</groupId>
<artifactId>jenkins</artifactId>
<version>1.54</version>
<version>1.55</version>
<relativePath />
</parent>

Expand All @@ -27,6 +27,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<slf4j.version>1.7.30</slf4j.version>
<spotbugs.excludeFilterFile>${project.basedir}/../src/spotbugs/excludesFilter.xml</spotbugs.excludeFilterFile>
</properties>

<repositories>
Expand Down
30 changes: 9 additions & 21 deletions plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,32 +75,20 @@
</plugins>
</build>
<properties>
<workflow-support-plugin.version>3.0</workflow-support-plugin.version>
<workflow-support-plugin.version>3.3</workflow-support-plugin.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jenkins-ci</groupId>
<artifactId>symbol-annotation</artifactId>
<version>1.14</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>scm-api</artifactId>
<version>2.2.6</version>
<version>1.18</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>structs</artifactId>
<version>1.14</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>script-security</artifactId>
<version>1.39</version>
<version>1.18</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -115,37 +103,37 @@
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-api</artifactId>
<version>2.30</version>
<version>2.35</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-basic-steps</artifactId>
<version>2.3</version>
<version>2.18</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-cps</artifactId>
<version>2.28</version>
<version>2.70</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-durable-task-step</artifactId>
<version>2.4</version>
<version>2.31</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-job</artifactId>
<version>2.9</version>
<version>2.33</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-step-api</artifactId>
<version>2.13</version>
<version>2.20</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,6 @@ private static String getFlow(Node node, int numSemaphores) {
for (int i = 0; i < numSemaphores; i++) {
sb.append(" semaphore 'wait-" + i + "'\n");
}
// TODO: Once JENKINS-41854 is fixed, remove the next two lines.
sb.append("}\n");
sb.append("node('" + node.getNodeName() + "') {\n");
sb.append(
" isUnix() ? sh('echo ON_SWARM_CLIENT=$ON_SWARM_CLIENT') : bat('echo ON_SWARM_CLIENT=%ON_SWARM_CLIENT%')");
sb.append("}\n");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package hudson.plugins.swarm.test;

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.greaterThan;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.assertTrue;

import hudson.model.Computer;
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>3.56</version>
<version>4.1</version>
<relativePath />
</parent>

Expand All @@ -24,7 +24,7 @@
<version>3.20-SNAPSHOT</version>

<properties>
<jenkins.version>2.121.3</jenkins.version>
<jenkins.version>2.164.3</jenkins.version>
<java.level>8</java.level>
</properties>

Expand Down
14 changes: 14 additions & 0 deletions src/spotbugs/excludesFilter.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<FindBugsFilter>
<Match>
<Or>
<!-- TODO: Investigate and fix findsecbugs violations, then remove these exclusions. -->
<Bug pattern="COMMAND_INJECTION"/>
<Bug pattern="HTTP_PARAMETER_POLLUTION"/>
<Bug pattern="PATH_TRAVERSAL_IN"/>
<Bug pattern="URLCONNECTION_SSRF_FD"/>
<Bug pattern="WEAK_MESSAGE_DIGEST_MD5"/>
<Bug pattern="WEAK_TRUST_MANAGER"/>
<Bug pattern="XXE_DOCUMENT"/>
</Or>
</Match>
</FindBugsFilter>

0 comments on commit bf722bd

Please sign in to comment.