-
Notifications
You must be signed in to change notification settings - Fork 150
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
Refresh plugin for June 2023 #313
Conversation
@@ -2,6 +2,6 @@ | |||
<extension> | |||
<groupId>io.jenkins.tools.incrementals</groupId> | |||
<artifactId>git-changelist-maven-extension</artifactId> | |||
<version>1.4</version> | |||
<version>1.6</version> |
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.
Latest at the time of this writing.
buildPlugin(useContainerAgent: true, configurations: [ | ||
[platform: 'linux', jdk: 17], | ||
[platform: 'windows', jdk: 11], | ||
]) |
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.
Following the latest archetype.
<properties> | ||
<revision>1.25</revision> | ||
<changelist>-SNAPSHOT</changelist> | ||
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo> | ||
<jenkins.version>2.361.4</jenkins.version> | ||
</properties> |
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.
Fixing indentation and making this consistent with the archetype.
|
||
<artifactId>publish-over-ssh</artifactId> | ||
<packaging>hpi</packaging> | ||
<name>Publish Over SSH</name> | ||
<version>${revision}${changelist}</version> | ||
<description>Send build artifacts over SSH</description> | ||
<url>https://github.com/jenkinsci/publish-over-ssh-plugin</url> | ||
<url>https://github.com/jenkinsci/${project.artifactId}-plugin</url> |
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.
Consistent with the archetype.
|
||
<licenses> | ||
<license> | ||
<name>The MIT license</name> | ||
<url>https://opensource.org/license/mit/</url> |
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.
Consistent with the archetype.
<artifactId>bom-2.289.x</artifactId> | ||
<version>1500.ve4d05cd32975</version> | ||
<artifactId>bom-2.361.x</artifactId> | ||
<version>2102.v854b_fec19c92</version> |
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.
Latest release of the 2.361.x BOM line.
<dependency> | ||
<groupId>org.jenkins-ci.plugins</groupId> | ||
<artifactId>jackson2-api</artifactId> | ||
</dependency> |
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.
Using a library plugin to implement dynamic linking as recommended when such library plugins exist.
import static org.mockito.ArgumentMatchers.any; | ||
import static org.mockito.ArgumentMatchers.anyString; | ||
import static org.mockito.ArgumentMatchers.eq; |
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.
Adapting to recent versions of Mockito.
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.
Thanks @basil this is great. I have tested the PR locally and works well.
Will merge , thanks again
No description provided.