-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish incrementals #255
Publish incrementals #255
Changes from all commits
056d12c
1909361
35c7f78
a7dbbe1
e80cb5f
2305a76
7658a65
b92a554
91c941a
fdcd6f4
fd8004d
05d8b17
1e1ef18
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
### Maven | ||
target/ | ||
plugins-compat-tester-cli/dependency-reduced-pom.xml | ||
|
||
### IntelliJ IDEA | ||
.idea/ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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.2</version> | ||
</extension> | ||
</extensions> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
-Pconsume-incrementals | ||
-Pmight-produce-incrementals |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,11 +32,7 @@ | |
|
||
import java.io.File; | ||
|
||
import org.apache.commons.io.FileUtils; | ||
import org.jenkins.tools.test.model.MavenCoordinates; | ||
import org.jenkins.tools.test.model.PCTPlugin; | ||
import org.jenkins.tools.test.model.PluginCompatReport; | ||
import org.jenkins.tools.test.model.PluginCompatResult; | ||
|
||
import java.io.IOException; | ||
import java.nio.file.Paths; | ||
|
@@ -53,7 +49,6 @@ | |
import org.codehaus.plexus.PlexusContainerException; | ||
import org.codehaus.plexus.util.xml.pull.XmlPullParserException; | ||
import org.jenkins.tools.test.exception.PomExecutionException; | ||
import org.jenkins.tools.test.model.MavenBom; | ||
import org.jenkins.tools.test.model.MavenCoordinates; | ||
import org.jenkins.tools.test.model.PluginCompatReport; | ||
import org.jenkins.tools.test.model.PluginCompatResult; | ||
|
@@ -63,6 +58,7 @@ | |
import org.jenkins.tools.test.model.TestStatus; | ||
import org.junit.After; | ||
import org.junit.Before; | ||
import org.junit.Ignore; | ||
import org.junit.Rule; | ||
import org.junit.Test; | ||
import org.junit.rules.TemporaryFolder; | ||
|
@@ -102,6 +98,7 @@ public void tearDown() { | |
SCMManagerFactory.getInstance().stop(); | ||
} | ||
|
||
@Ignore("TODO broken by https://github.com/jenkinsci/active-directory-plugin/releases/tag/active-directory-2.17; figure out how to pin a version") | ||
@Test | ||
public void testWithUrl() throws Throwable { | ||
PluginCompatTesterConfig config = getConfig(ImmutableList.of("active-directory")); | ||
|
@@ -142,6 +139,7 @@ public void testWithUrl() throws Throwable { | |
} | ||
} | ||
|
||
@Ignore("TODO broken by https://github.com/jenkinsci/active-directory-plugin/releases/tag/active-directory-2.17; figure out how to pin a version") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Use of Incrementals in jenkinsci/active-directory-plugin#102 seems to have broken these two tests. Anyway no tests here ought to be drawing plugin versions from the update center. (Perhaps we should simply remove this mode and only support |
||
@Test | ||
public void testWithIsolatedTest() throws Throwable { | ||
PluginCompatTesterConfig config = getConfig(ImmutableList.of("active-directory")); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,24 +4,29 @@ | |
<parent> | ||
<groupId>org.jenkins-ci</groupId> | ||
<artifactId>jenkins</artifactId> | ||
<version>1.54</version> | ||
<version>1.57</version> | ||
<relativePath /> | ||
</parent> | ||
|
||
<groupId>org.jenkins-ci.tests</groupId> | ||
<artifactId>plugins-compat-tester-aggregator</artifactId> | ||
<version>0.5.1-SNAPSHOT</version> | ||
<version>${revision}${changelist}</version> | ||
<name>Plugins compatibility tester Aggregator</name> | ||
<description>Jenkins Plugin Compatibility Tester (PCT) against latest released version</description> | ||
<url>https://github.com/jenkinsci/plugin-compat-tester</url> | ||
<packaging>pom</packaging> | ||
|
||
<scm> | ||
<connection>scm:git:ssh://[email protected]/jenkinsci/plugin-compat-tester.git</connection> | ||
<developerConnection>scm:git:ssh://[email protected]/jenkinsci/plugin-compat-tester.git</developerConnection> | ||
<tag>HEAD</tag> | ||
<connection>scm:git:ssh://[email protected]/${gitHubRepo}.git</connection> | ||
<developerConnection>scm:git:ssh://[email protected]/${gitHubRepo}.git</developerConnection> | ||
<url>https://github.com/${gitHubRepo}</url> | ||
<tag>${scmTag}</tag> | ||
</scm> | ||
|
||
<properties> | ||
<revision>0.5.1</revision> | ||
<changelist>-SNAPSHOT</changelist> | ||
<gitHubRepo>jenkinsci/plugin-compat-tester</gitHubRepo> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<logbackVersion>1.2.3</logbackVersion> | ||
<java.level>8</java.level> | ||
|
@@ -31,6 +36,7 @@ | |
<!-- Test libs --> | ||
<powermock.version>1.6.1</powermock.version> | ||
<spotbugs.effort>Max</spotbugs.effort> | ||
<spotbugs.excludeFilterFile>${basedir}/../src/spotbugs/excludeFilter.xml</spotbugs.excludeFilterFile> | ||
</properties> | ||
|
||
<modules> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<FindBugsFilter> | ||
<Match> | ||
<!-- Irrelevant for a development tool. --> | ||
<Bug category="SECURITY"/> | ||
</Match> | ||
</FindBugsFilter> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trying to work around mojohaus/flatten-maven-plugin#100.