-
Bug
-
Resolution: Fixed
-
Minor
-
None
Example:
docker run --rm -v /Users/nenashev/Documents/jenkins/tools/jenkinsfile-runner/demo/cwp/Jenkinsfile:/workspace/Jenkinsfile \ jenkins-experimental/jenkinsfile-runner-demo 2.731 [id=27] WARNING hudson.ClassicPluginStrategy#createClassJarFromWebInfClasses: Created /usr/share/jenkins/ref/plugins/authentication-tokens/WEB-INF/lib/classes.jar; update plugin to a version created with a newer harness 2.792 [id=27] WARNING hudson.ClassicPluginStrategy#createClassJarFromWebInfClasses: Created /usr/share/jenkins/ref/plugins/icon-shim/WEB-INF/lib/classes.jar; update plugin to a version created with a newer harness 2.957 [id=24] WARNING hudson.ClassicPluginStrategy#createClassJarFromWebInfClasses: Created /usr/share/jenkins/ref/plugins/git-server/WEB-INF/lib/classes.jar; update plugin to a version created with a newer harness Started Running in Durability level: PERFORMANCE_OPTIMIZED [Pipeline] stage
These warnings are OK for the build-time, but they should not be displayed in the production runs IMO
- This is a jenkins issue, but in Jenkins, the errors are going to system log, not build logs
- For jenkinsfile runner users this is going to build logs
Options:
- Suppress this particular log messages. The good thing here is that it will fix it for all the plugins. Jenkins-x serverless uses plugins not in the stacktrace so this approach will solve those as well
- Update the plugins parent poms so that this error doesn't show up and update demo and vanilla package