The scerenshot says that there is 1 spotbugs warning that has not been suppressed. It will either need to be suppressed or fixed before the build will pass.
The spotbugs.failOnError property is set to true by default. It should be removed from the change.
A suggestion on stackoverflow indicates that your IDE may be configured incorrectly. Jenkins plugin development can be done with Java 11 (file version 55) and with Java 17 (file version 61), but it is best to configure your IDE to match the Java version youâre running from the command line. Use either Java 11 or Java 17 for your development, or accept that you need to make more calls to git clean -xffd or mvn clean in order to resolve differences between your command line Java version and your IDE Java version
I am not an active user of VSCode. If that advice does not resolve the issue for you, you may need to seek help from others.
I am really not able to say âthis is okâ based on the screenshot. The picture looks OK, but there is a lot more involved in âokâ than a successful compile. Once you have a successful compile and have committed changes and have created a pull request, then others can review for âokâ.
Itâs totally impossible to guide you without knowing the actual error. Furthermore, even if there was an error message in this message, communicating via screenshot is not efficient since it doesnât allow for copy paste.
Here are a few guidelines to help others helping you:
clearly report on the issue you face: 1. I changed this and ran this command, 2. I was expecting this output; 3. I observed that output. 4. My environment is: Os version (uname -a, Java version (java -version) Maven version (man -version)
optionally open a draft Pull Request with your changes for others to reproduce the issue
remember that âbuild failureâ doesnât mean a thing without context, the build log probably contains an actual error message. In this specific case, you can see that spotbugs caused the error, if you scroll a bit up the build log, it should give you an error code and the line the error occurred in. You can usually google the spot bug error code and find useful documentation on the topic on how to resolve the error.
a screenshot is not the proper way to report an error, prefer text that can be copy pasted
You ignored the suggestion from @PierreBtz . The suggestion was that you include more details in the request for help and make those details text rather than a screenshot.
When you ignore suggestions from people that are helping you, you decrease the likelihood of them helping you in the future.
Hey, I added a contributing guide in the skip-certificate-check-plugin but when I try to publish this change it is showing me this error how can I fix it?
@pushker001 It would be better for you to independently discover issues to work on, so that it will show us you are capable of being an independent contributor during the contributor selection process. One way is to use existing and published material to give you a hint about what issues need help with and where, like this article for Jenkins participation in Hacktoberfest 2022: Hacktoberfest.