Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-48949] - Make the plugin testable in PCT with JEP-200 (#45)
* [JENKINS-48949] - Update Plugin POM to make the plugin testable in PCT

* [JENKINS-48949] - Add Jenkinsfile
  • Loading branch information
oleg-nenashev authored and mezpahlan committed May 27, 2018
1 parent b4ace2f commit ef08e8a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 29 deletions.
2 changes: 2 additions & 0 deletions Jenkinsfile
@@ -0,0 +1,2 @@
// Build the plugin using https://github.com/jenkins-infra/pipeline-library
buildPlugin()
45 changes: 16 additions & 29 deletions pom.xml
Expand Up @@ -4,13 +4,14 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>1.609.2</version>
<version>3.2</version>
</parent>

<properties>
<jenkins.version>1.609.2</jenkins.version>
<jenkins.version>1.625.3</jenkins.version>
<java.level>7</java.level>
<jenkins-test-harness.version>2.13</jenkins-test-harness.version>
<!-- TODO: uncomment once FindBugs is fixed -->
<findbugs.failOnError>false</findbugs.failOnError>
</properties>

<artifactId>hockeyapp</artifactId>
Expand Down Expand Up @@ -67,20 +68,11 @@
<pluginRepositories>
<pluginRepository>
<id>repo.jenkins-ci.org</id>
<url>http://repo.jenkins-ci.org/public/</url>
<url>https://repo.jenkins-ci.org/public/</url>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
Expand All @@ -97,29 +89,17 @@
</build>
<dependencies>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpmime</artifactId>
<version>4.0.1</version>
<scope>compile</scope>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>apache-httpcomponents-client-4-api</artifactId>
<version>4.5.3-2.0</version>
</dependency>
<dependency>
<groupId>com.googlecode.json-simple</groupId>
<artifactId>json-simple</artifactId>
<version>1.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.6</version>
<scope>compile</scope>
</dependency>
<!-- oleg-nenashev: TODO: why is it included into the plugin? It should not IIUC -->
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-api</artifactId>
Expand All @@ -129,6 +109,13 @@
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-gitexe</artifactId>
<version>1.9.2</version>
<exclusions>
<exclusion>
<!--Provided by the core -->
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</project>

0 comments on commit ef08e8a

Please sign in to comment.