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

fix(travis): Avoid a potential NPE when retrieving latest builds #964

Merged
merged 1 commit into from
Sep 20, 2021

Conversation

jervi
Copy link
Contributor

@jervi jervi commented Sep 20, 2021

After upgrading from Travis Enterprise 2 to 3, we ran into an issue where the build was null for some jobs. I believe this is a bug in Travis, but I'm adding a check here to just avoid a NullPointerException that blocks the Travis provider from fetching builds if this issue should ever occur again.

After upgrading from Travis Enterprise 2 to 3, we ran into an issue where the build was `null` for some jobs. I believe this  is a bug in Travis, but I'm adding a check here to just avoid a NullPointerException that blocks the Travis provider from fetching builds if this issue should ever occur again.
@jervi
Copy link
Contributor Author

jervi commented Sep 20, 2021

@spinnaker/oss-reviewers PTAL :)

@dbyron-sf dbyron-sf added the ready to merge Approved and ready for merge label Sep 20, 2021
@mergify mergify bot merged commit 57dc2bf into spinnaker:master Sep 20, 2021
@mergify mergify bot added the auto merged label Sep 20, 2021
@jervi jervi deleted the fix_travis_NPE branch September 21, 2021 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants