Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
Describe the issue:
When I make a Pull Request (already create issue and DCO passed), the gradle-check in Jenkins always report failed, but I cannot found any error infomation in detail in log.
merge target branch is main.
more screenshot is in reply (I cannot paste them all in topic because new user limit)
the PR link is:
04:12PM - 06 Mar 23 UTC
add remark field to NodeData and TaskInfo
### Issues Resolve
### Check List
- [ ] New functionality includes testing.
- [ ] All tests pass
- [ ] New functionality has been documented.
- [ ] New functionality has javadoc added
- [x] Commits are signed per the DCO using --signoff
- [ ] Commit changes are listed out in CHANGELOG.md file (See: [Changelog](../blob/main/CONTRIBUTING.md#changelog))
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check [here](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin).
Relevant Logs or Screenshots:
March 7, 2023, 7:37am
you have to look at the “console output” of the jenkins build to see the errors:
as you can see there the spotless check failed (just search for “FAILURE” to find the message - it’s nearly at the end). i.e. the check wants you to re-format your code a bit.
you can run the command ./gradlew spotlessCheck for faultlessness in the terminal in your directory, if the build fails, run the command./gradlew.bat :spotlessApply, and then run ./gradlew check