Skip to content
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

Run lint in compile phase to fail Maven build on Jenkins #206

Merged
merged 1 commit into from
Oct 16, 2019

Conversation

yurloc
Copy link
Member

@yurloc yurloc commented Oct 16, 2019

Jenkins uses -Dmaven.test.failure.ignore to run the complete build
even if some tests are failing. Frontend plugin honors this property
in such a way that any goal ran in the test phase doesn't fail
the build (even if it returns non-zero code) but we want typecheck
and lint to fail the build.

Frontend plugin issue with related information: eirslett/frontend-maven-plugin#534.

Jenkins uses `-Dmaven.test.failure.ignore` to run the complete build
even if some tests are failing. Frontend plugin honors this property
in such a way that any goal ran in the test phase doesn't fail
the build (even if it returns non-zero code) but we want typecheck
and lint to fail the build.
@yurloc yurloc merged commit c8bd90b into kiegroup:master Oct 16, 2019
@yurloc yurloc deleted the build-lint-compile branch October 16, 2019 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant