-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fix load error #7
Conversation
<source>1.8</source> | ||
<target>1.8</target> | ||
<source>11</source> | ||
<target>11</target> |
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.
Can we use Java v11?
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
@@ -16,8 +16,8 @@ | |||
<revision>1.0</revision> | |||
<changelist>-SNAPSHOT</changelist> | |||
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo> | |||
<jenkins.version>2.222.4</jenkins.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.
We intentionally depend on older version of Jenkins in order to maintain compatible with a wide range of Jenkins. There's nothing in this plugin that requires new version of Jenkins, so it's important to stick to the current base Jenkins version.
Jenkins store everything in a directory, called "$JENKINS_HOME", including all the plugins installed. When you are developing a plugin like this, $JENKINS_HOME is When I start Jenkins clean with empty home, I do not get any errors, which suggests you probably have accidentally updated some plugin versions. Without the logs showing the plugin loading failure, it's hard to precisely pin down why, but probably there's no point. I suggest you start by |
thank you, I'll try to do |
Thank you, the original error was resolved! |
Context
While I was implementing this plugin, a plugin loading error occurred.
First, I tried to update v2.361.4 because Pipeline API required it
https://gyazo.konboi.com/e588d921ce117e8781b7763e22b5efca.png
However, the error still occurred. So, I updated to v2.387.3.
Unfortunately, error wasn't resolved
Finally, I updated to the Jenkins version to v2.401.3 and loading error was resolved.
Ask