Comment 2 for bug 2038569

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to jenkins-pipelines (r/stx.8.0)

Reviewed: https://review.opendev.org/c/starlingx/jenkins-pipelines/+/897867
Committed: https://opendev.org/starlingx/jenkins-pipelines/commit/a579327e43ccb83caf7d9f60af1e01f45e40c0c8
Submitter: "Zuul (22348)"
Branch: r/stx.8.0

commit a579327e43ccb83caf7d9f60af1e01f45e40c0c8
Author: Davlet Panech <email address hidden>
Date: Fri Feb 3 10:25:41 2023 -0500

    Better error handling for docker image sub-jobs

    Currently Jenkinsfile ignores failures in sub-jobs related to docker
    images (base image, wheels, etc). If they fail, the overall build
    remains successful. This allows docker-related build problems remain
    unnoticed.

    Make this behavior conditional on a job parameter.

    TESTS
    ==============================================
    * A build where there are no docker-related errors (overall: SUCCESS)
    * A build where wheels fail and SUPPRESS_DOCKER_IMAGE_BUILD_ERRORS is
      true (overall: SUCCESS)
    * A build where wheels fail and SUPPRESS_DOCKER_IMAGE_BUILD_ERRORS is
      false (overall: FAIL)

    Story: 2009895
    Task: 47280
    Closes-Bug: 2038569

    Signed-off-by: Davlet Panech <email address hidden>
    Change-Id: I16ac4f63033ecbc78c647c4da105d550fe2facc4
    (cherry picked from commit 7481a3b257596c34b00af830e263f765e297733f)