Skip to content
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

Merged
merged 1 commit into from
Jun 30, 2023
Merged

Refresh plugin for June 2023 #313

merged 1 commit into from
Jun 30, 2023

Conversation

basil
Copy link
Member

@basil basil commented Jun 29, 2023

No description provided.

@basil basil requested a review from a team June 29, 2023 20:16
@@ -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>
Copy link
Member Author

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.

Comment on lines +2 to +5
buildPlugin(useContainerAgent: true, configurations: [
[platform: 'linux', jdk: 17],
[platform: 'windows', jdk: 11],
])
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Following the latest archetype.

Comment on lines +35 to +40
<properties>
<revision>1.25</revision>
<changelist>-SNAPSHOT</changelist>
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
<jenkins.version>2.361.4</jenkins.version>
</properties>
Copy link
Member Author

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>
Copy link
Member Author

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>
Copy link
Member Author

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>
Copy link
Member Author

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.

Comment on lines +92 to +95
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>jackson2-api</artifactId>
</dependency>
Copy link
Member Author

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.

Comment on lines +27 to +29
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.anyString;
import static org.mockito.ArgumentMatchers.eq;
Copy link
Member Author

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.

@basil basil marked this pull request as ready for review June 29, 2023 20:17
@basil basil requested a review from gmcdonald June 30, 2023 15:40
Copy link
Contributor

@gmcdonald gmcdonald left a 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

@gmcdonald gmcdonald merged commit 1d330fb into jenkinsci:main Jun 30, 2023
@basil basil mentioned this pull request Jun 30, 2023
@gmcdonald gmcdonald added the dependencies A PR that updates dependencies - used by Release Drafter label Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies A PR that updates dependencies - used by Release Drafter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants