Skip to content

Improve Gradle pre-commit checks to pre-empt Jenkins build #4174

Closed
@Bukhtawar

Description

@Bukhtawar

Is your feature request related to a problem? Please describe.

  1. The gradle pre-commit is a check used exhaustively before making commits to the repository. If the commit contains files whose java docs are missing the precommit check passes however the gradle check Jenkins build which runs the full integ test suite detects it towards the end, which seems wasteful
    See : https://build.ci.opensearch.org/job/gradle-check/1615/console

  2. Trigger pre-commit checks before triggering a full gradle check since if the pre-commit checks fail so will the gradle check Jenkins build, so we end up doing redundant runs.
    See : https://build.ci.opensearch.org/job/gradle-check/1613/console

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions