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

Provide improvements to shell script wrapper. #9

Merged
merged 1 commit into from
Dec 3, 2018
Merged

Provide improvements to shell script wrapper. #9

merged 1 commit into from
Dec 3, 2018

Conversation

jaloren
Copy link
Contributor

@jaloren jaloren commented Sep 24, 2018

The improvements are centered on error handling. As an operator, I want
the script:

  • to find the java binary from JAVA_HOME by default and
    then from the path. If it finds the jar in neither place, then output a
    useful error message
  • exit with a non-zero code if there are unitialized bash variables
  • exit with a non-zero code and useful error message if the jar cannot
    be found

The improvements are centered on error handling. As an operator, I want
the script:

- to find the java binary from JAVA_HOME by default and
then from the path. If it finds the jar in neither place, then output a
useful error message
- exit with a non-zero code if there are unitialized bash variables
- exit with a non-zero code and useful error message if the jar cannot
be found
@xino12 xino12 self-requested a review December 3, 2018 11:40
@xino12
Copy link
Contributor

xino12 commented Dec 3, 2018

Thanks for the useful contribution @jaloren and sorry for the delayed response from our side.

@xino12 xino12 merged commit d3be4ac into newrelic:master Dec 3, 2018
alejandrodnm added a commit that referenced this pull request Feb 6, 2019
alejandrodnm added a commit that referenced this pull request Feb 6, 2019
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