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

jobs/release: safely check if brew exists in pipecfg #895

Merged
merged 1 commit into from
Jul 25, 2023

Conversation

marmijo
Copy link
Member

@marmijo marmijo commented Jul 25, 2023

The release jobs in both FCOS and RHCOS are failing with java.lang.NullPointerException: Cannot get property 'principal' on null object.

There is a possibility that the brew section of the pipecfg doesn't exist, e.g. in FCOS. Add a ? to the variable assignment to check if brew is null before assigning values to these variables.

See: #886

There is a possibility that the `brew` section of the pipecfg
doesnt exist, e.g. in FCOS. Add a '?' to the variable assignment
to check if `brew` is null before assigning values to these variables.
Copy link
Member

@ravanelli ravanelli left a comment

Choose a reason for hiding this comment

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

/lgtm

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