Skip to content

CURL commands in build don't check the response code #31598

@ahus1

Description

@ahus1

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

ci

Describe the bug

The CURL commands are called without -f which would make the command fail on 400/500 response codes.

Version

main

Regression

  • The issue is a regression

Expected behavior

CURL downloads should fail on 400/500 response code

Actual behavior

They don't fail, and instead write the output to disk which then breaks in the next steps

How to Reproduce?

Looking at the build https://github.com/keycloak/keycloak/actions/runs/10074483687/job/27851579225 where the phantomJS cache size was 409 B.

Anything else?

I'll create a PR

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions