Skip to content

Commit

Permalink
Merge pull request #100 from jglick/more-VirtualFile-JENKINS-49635
Browse files Browse the repository at this point in the history
[JENKINS-22637] ArtifactManager support on new core
  • Loading branch information
ikedam committed May 12, 2018
2 parents fc966a5 + 87ce0dd commit 180c673
Show file tree
Hide file tree
Showing 9 changed files with 171 additions and 116 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -9,4 +9,4 @@ work
*.iws
*.ipr
.idea
out
out
7 changes: 7 additions & 0 deletions .mvn/extensions.xml
@@ -0,0 +1,7 @@
<extensions xmlns="http://maven.apache.org/EXTENSIONS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd">
<extension>
<groupId>io.jenkins.tools.incrementals</groupId>
<artifactId>git-changelist-maven-extension</artifactId>
<version>1.0-beta-3</version>
</extension>
</extensions>
2 changes: 2 additions & 0 deletions .mvn/maven.config
@@ -0,0 +1,2 @@
-Pconsume-incrementals
-Pmight-produce-incrementals
42 changes: 33 additions & 9 deletions pom.xml
Expand Up @@ -4,15 +4,15 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>2.37</version>
<version>3.10</version>
<relativePath />
</parent>

<artifactId>copyartifact</artifactId>
<packaging>hpi</packaging>
<name>Copy Artifact Plugin</name>
<description>Adds a build step to copy artifacts from another project.</description>
<version>1.40-SNAPSHOT</version>
<version>${revision}${changelist}</version>
<url>https://wiki.jenkins.io/display/JENKINS/Copy+Artifact+Plugin</url>

<licenses>
Expand All @@ -24,9 +24,12 @@
</licenses>

<properties>
<!-- To support (and test) @Symbol annotations (requires workflow-cps >= 2.10) -->
<jenkins.version>1.642.3</jenkins.version>
<java.level>7</java.level>
<revision>1.40</revision>
<changelist>-SNAPSHOT</changelist>
<jenkins.version>2.118</jenkins.version>
<java.level>8</java.level>
<workflow-api-plugin.version>2.28-rc333.0675e9e9cb4c</workflow-api-plugin.version> <!-- TODO https://github.com/jenkinsci/workflow-api-plugin/pull/67 -->
<useBeta>true</useBeta>
</properties>

<dependencies>
Expand All @@ -35,7 +38,7 @@
<artifactId>maven-plugin</artifactId>
<version>2.7.1</version>
<optional>true</optional>
<exclusions>
<exclusions> <!-- TODO use 3.0 -->
<!-- See https://issues.jenkins-ci.org/browse/JENKINS-25625 -->
<exclusion>
<groupId>org.jenkins-ci</groupId>
Expand All @@ -57,12 +60,20 @@
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
</exclusion>
<exclusion>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>structs</artifactId>
<version>1.6</version>
<version>1.14</version>
</dependency>
<!-- Used for UI test -->
<dependency>
Expand Down Expand Up @@ -139,7 +150,7 @@
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-api</artifactId>
<version>2.20</version>
<version>${workflow-api-plugin.version}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -160,6 +171,13 @@
<version>1.10</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-api</artifactId>
<version>${workflow-api-plugin.version}</version>
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
Expand All @@ -172,6 +190,12 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>scm-api</artifactId>
<version>2.0.8</version>
<scope>test</scope>
</dependency>
</dependencies>
<reporting>
<plugins>
Expand All @@ -193,7 +217,7 @@
<connection>scm:git:git://github.com/jenkinsci/copyartifact-plugin.git</connection>
<developerConnection>scm:git:git@github.com:jenkinsci/copyartifact-plugin.git</developerConnection>
<url>https://github.com/jenkinsci/copyartifact-plugin</url>
<tag>HEAD</tag>
<tag>${scmTag}</tag>
</scm>

<repositories>
Expand Down

0 comments on commit 180c673

Please sign in to comment.