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

added early stopping to Jenkins scripts #5205

Merged
merged 1 commit into from Aug 9, 2019
Merged

added early stopping to Jenkins scripts #5205

merged 1 commit into from Aug 9, 2019

Conversation

jameslamb
Copy link
Contributor

Hello!

I was looking at your Jenkins setup today to see if there was anything interesting I could learn for my own projects. While doing that, I noticed that several of the scripts in docker/ do not use set -e to ensure early stopping if something breaks.

In this PR, I propose that they should. Since these scripts contain imperative code that has side effects (e.g. hitting S3 with aws s3 cp), I think it would be valuable to know they'll immediately stop if anything goes wrong.

I've also removed a few unnecessary empty lines at the end of these files. If you prefer that I revert those whitespace-only changes please let me know and I'd be happy to.

Thanks in advance for your time and consideration!

Copy link
Member

@jmcphers jmcphers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is a good best practice. Thanks for the contribution!

@jmcphers jmcphers merged commit 3a4765d into rstudio:master Aug 9, 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.

None yet

2 participants