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

fail overall build with exit 1 if maven... #19

Merged
merged 1 commit into from
Jan 18, 2021

Conversation

nickboldt
Copy link
Contributor

@nickboldt nickboldt commented Jan 18, 2021

What does this PR do?

fail overall build with exit 1 if maven builds fail

Change-Id: I83f5233188285764b33bf58cb868ba6c2ec2c4d6
Signed-off-by: nickboldt nboldt@redhat.com

Screenshot/screencast of this PR

N/A

What issues does this PR fix or reference?

eclipse-che/che#18792

How to test this PR?

N/A

PR Checklist

As the author of this Pull Request I made sure that:

Reviewers

Reviewers, please comment how you tested the PR when approving it.

@nickboldt nickboldt requested a review from mkuznyetsov January 18, 2021 15:34
@nickboldt nickboldt mentioned this pull request Jan 18, 2021
12 tasks
@nickboldt nickboldt force-pushed the fail-for-maven-build-failures branch from 916be53 to fdb3c2e Compare January 18, 2021 16:15
Change-Id: I83f5233188285764b33bf58cb868ba6c2ec2c4d6
Signed-off-by: nickboldt <nboldt@redhat.com>

remove some empty lines

Change-Id: I86c0ccca5bd3072afa24daec7dab9969447234fe
Signed-off-by: nickboldt <nboldt@redhat.com>

don't fail for any [ERROR] lines, as tests sometimes pass (???) with those; instead check for BUILD FAILURE lines; generalize into helper method

Change-Id: Iea0e15f9499325bcdf170cac40dea4ac5f1e4ff5
Signed-off-by: nickboldt <nboldt@redhat.com>

trap actual exit code, not the result of toggling 'set -e' back on

Change-Id: Ia1e4c922a0a8ed6cd0060de99c7ee8a1d2ab2230
Signed-off-by: nickboldt <nboldt@redhat.com>
@nickboldt nickboldt force-pushed the fail-for-maven-build-failures branch from fdb3c2e to 659e229 Compare January 18, 2021 17:39
@nickboldt nickboldt merged commit 1174cd2 into master Jan 18, 2021
@nickboldt nickboldt deleted the fail-for-maven-build-failures branch March 16, 2021 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants