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
Move to Java 8 & Jenkins 2.60 #389
Merged
rsandell
merged 4 commits into
jenkinsci:master
from
AllegorithmicSAS:move-to-jenkins-2.60
Jan 31, 2019
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
<parent> | ||
<groupId>org.jenkins-ci.plugins</groupId> | ||
<artifactId>plugin</artifactId> | ||
<version>2.30</version> | ||
<version>3.32</version> | ||
<relativePath /> | ||
</parent> | ||
|
||
|
@@ -53,17 +53,17 @@ | |
</developers> | ||
|
||
<properties> | ||
<jenkins.version>1.609.3</jenkins.version> | ||
<!--<jenkins.version>2.5-SNAPSHOT</jenkins.version>--> | ||
<java.level>6</java.level> | ||
<!-- <jenkins.version>2.14</jenkins.version> First version with auto-closeable ACLs / 2016 --> | ||
<jenkins.version>2.60.1</jenkins.version> <!-- First LTS for java 8 only / 2017 --> | ||
<java.level>8</java.level> | ||
<no-test-jar>false</no-test-jar> | ||
<findbugs.failOnError>false</findbugs.failOnError> | ||
<concurrency>1C</concurrency> | ||
<powermock.version>1.6.2</powermock.version> | ||
<checkstyle.version>2.13</checkstyle.version> | ||
<mockito.version>1.10.19</mockito.version> | ||
<workflow.version>1.14</workflow.version> | ||
<workflow.version.test>1.14.1-beta-1</workflow.version.test> | ||
<workflow.version>1.14.2</workflow.version> | ||
<workflow.version.test>1.14.2</workflow.version.test> | ||
</properties> | ||
|
||
<dependencies> | ||
|
@@ -88,13 +88,12 @@ | |
<dependency> | ||
<groupId>org.jenkins-ci.plugins</groupId> | ||
<artifactId>git</artifactId> | ||
<version>2.3</version> | ||
<version>2.4.3</version> | ||
<optional>true</optional> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.jenkins-ci.plugins</groupId> | ||
<artifactId>git-client</artifactId> | ||
<version>1.11.1</version> | ||
<optional>true</optional> | ||
</dependency> | ||
<dependency> | ||
|
@@ -106,7 +105,7 @@ | |
<dependency> | ||
<groupId>org.jenkins-ci.plugins</groupId> | ||
<artifactId>rabbitmq-consumer</artifactId> | ||
<version>2.2</version> | ||
<version>2.8</version> | ||
<optional>true</optional> | ||
</dependency> | ||
<dependency> | ||
|
@@ -118,7 +117,7 @@ | |
<dependency> | ||
<groupId>commons-net</groupId> | ||
<artifactId>commons-net</artifactId> | ||
<version>2.0</version> | ||
<version>3.6</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.jenkins-ci.plugins</groupId> | ||
|
@@ -138,6 +137,13 @@ | |
<version>${workflow.version}</version> | ||
<optional>true</optional> | ||
</dependency> | ||
<dependency> | ||
<!-- Used for test with matrix permissions --> | ||
<groupId>org.jenkins-ci.plugins</groupId> | ||
<artifactId>matrix-auth</artifactId> | ||
<version>2.3</version> | ||
<optional>true</optional> | ||
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. Should this then be a test dependency instead? 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. Yes, I fix it. |
||
</dependency> | ||
<dependency> | ||
<groupId>org.easymock</groupId> | ||
<artifactId>easymock</artifactId> | ||
|
@@ -147,17 +153,16 @@ | |
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-api</artifactId> | ||
<version>1.6.1</version> | ||
<version>1.7.25</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-jdk14</artifactId> | ||
<version>1.6.1</version> | ||
<version>1.7.25</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>4.11</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
|
@@ -187,7 +192,7 @@ | |
<dependency> | ||
<groupId>org.apache.sshd</groupId> | ||
<artifactId>sshd-core</artifactId> | ||
<version>0.13.0</version> | ||
<version>0.14.0</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
|
@@ -208,6 +213,20 @@ | |
<scope>provided</scope> | ||
</dependency> | ||
</dependencies> | ||
<dependencyManagement> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.jenkins-ci.plugins</groupId> | ||
<artifactId>git-client</artifactId> | ||
<version>1.19.6</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.jenkins-ci.plugins</groupId> | ||
<artifactId>script-security</artifactId> | ||
<version>1.16</version> | ||
</dependency> | ||
</dependencies> | ||
</dependencyManagement> | ||
<repositories> | ||
<repository> | ||
<id>repo.jenkins-ci.org</id> | ||
|
@@ -305,8 +324,8 @@ | |
<configuration> | ||
<signature> | ||
<groupId>org.codehaus.mojo.signature</groupId> | ||
<artifactId>java16</artifactId> | ||
<version>1.1</version> | ||
<artifactId>java18</artifactId> | ||
<version>1.0</version> | ||
</signature> | ||
</configuration> | ||
<executions> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I believe we need to bump this to some 2.x version of workflow and split up the versions to whatever latest that supports core 2.60. 1.14 of workflow is ancient.
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.
All right, I check that.
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.
I need some advice for this point. If I use workflow-step-api plugin versions targeted to java 8 (core 2.60), I get the last version of this plugin. I can't wonder if it's a problem or not. If we do that, gerrit-trigger-plugin users will be forced to use the last workflow-step-api version to update gerrit-trigger-plugin ?
May be not an issue, but I can't guess ...
Version of workflow-step-api needing java 8 / jenkins core 2.60 : 2.18 (january 2019)
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.
workflow-aggregator needed for some tests introduce a lot of dependencies problems (maven enforcer). Do you think there is a good way to replace it for test, or we really need to deal with all depencies management ? Maybe we could get an example of dependencies management from other project using it ?
Or ... keep this versions of workflow plugins ? Since we do need new versions features, and their versions are drived Jenkins plugin management, it's an important issue ?
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.
We don't have to go with the latest bleeding edge versions but something 2.x so that debugging etc gets easier to do.
Also as of workflow suite 2.0 there is no longer a mono repo of all the basics of workflow instead each plugin in the suite has it's own release cycle so we can't use the agregator any more.
See #390 for examples.
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.
But we've also seen from usage statistics that those who update they update everything most of the time. And those who don't update won't care either way since they won't get this version that requires them to update everything :)