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

Use pom.xml to describe the packaged plug-in #76

Closed
wants to merge 2 commits into from
Closed

Use pom.xml to describe the packaged plug-in #76

wants to merge 2 commits into from

Conversation

seanly
Copy link

@seanly seanly commented Jan 7, 2022

See #75

Local tests verify the effect

image

@ks-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: seanly
To complete the pull request process, please assign linuxsuren after the PR has been reviewed.
You can assign the PR to them by writing /assign @linuxsuren in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ks-ci-bot ks-ci-bot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Jan 7, 2022
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>pipeline-utility-steps</artifactId>
Copy link
Member

Choose a reason for hiding this comment

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

IMO, adding this plugin to here should be appeared in another Pull Request. Because this PR only refactors the building ways, and should not add any new plugins, so that we can safely verify this PR.

Copy link
Member

Choose a reason for hiding this comment

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

+1

Normally, we only do one thing in a single PR.

Copy link
Member

@LinuxSuRen LinuxSuRen left a comment

Choose a reason for hiding this comment

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

hi @seanly , this is a great try. Thanks for your time. I left some comments, please take look it.

I didn't have a chance to check all the plugins to see the pom.xml and YAML style have the same version. It would be great if you can tell us how you do that.

</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>pipeline-utility-steps</artifactId>
Copy link
Member

Choose a reason for hiding this comment

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

+1

Normally, we only do one thing in a single PR.


<name>KubeSphere Jenkins</name>
<description>Jenkins formula for KubeSphere.</description>
<url>https://kubesphere.github.io/ks-jenkins/</url>
Copy link
Member

Choose a reason for hiding this comment

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

I'm wondering if we can use https://github.com/kubesphere/ks-jenkins instead of the below one.

~ curl -q https://kubesphere.github.io/ks-jenkins
<html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>

Comment on lines +21 to +23
jenkins.install.runSetupWizard: "false"
org.apache.commons.jelly.tags.fmt.timeZone: Asia/Shanghai
user.timezone: Asia/Shanghai
Copy link
Member

Choose a reason for hiding this comment

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

These settings might not be friendly enough for other users who are not in China.

It could be an option of the Helm chart.

hudson.security.csrf.DefaultCrumbIssuer.EXCLUDE_SESSION_ID: "true"
file.encoding: UTF-8
sun.jnu.encoding: UTF-8
jenkins.install.runSetupWizard: "false"
Copy link
Member

Choose a reason for hiding this comment

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

For ks-devops, it's good enough. But in other cases, users might wish to keep it be default.

And we already set it be false at here

@ks-ci-bot
Copy link
Collaborator

@seanly: PR needs rebase.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@seanly seanly closed this by deleting the head repository Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-rebase size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants