Skip to content

Conversation

@hoffie
Copy link
Member

@hoffie hoffie commented Mar 13, 2022

Previously, the job and release upload actions simply chose not to run when there's no artifact_1. However, all jobs should have at least one artifact, so this commit makes those steps fail in order to make potential errors visible instead of failing silently (all green, but missing artifact in job or release).

Short description of changes

CHANGELOG: Autobuild: Improved failure detection

Context: Fixes an issue?

Fixes #2500.

Does this change need documentation? What needs to be documented and how?

No.

Status of this Pull Request

Ready.

What is missing until this pull request can be merged?

Checklist

  • I've verified that this Pull Request follows the general code principles
  • I tested my code and it does what I want
  • My code follows the style guide
  • I waited some time after this Pull Request was opened and all GitHub checks completed without errors.
  • I've filled all the content above

Previously, the job and release upload actions simply chose not to run
when there's no artifact_1. However, all jobs should have at least one
artifact, so this commit makes those steps fail in order to make
potential errors visible instead of failing silently (all green, but
missing artifact in job or release).

Fixes jamulussoftware#2500
@hoffie hoffie added this to the Release 3.9.0 milestone Mar 13, 2022
@hoffie hoffie requested a review from ann0see March 13, 2022 12:38
@ann0see ann0see merged commit 61daa2a into jamulussoftware:master Mar 13, 2022
@hoffie hoffie deleted the autobuild-fail-on-missing-artifact1 branch March 19, 2022 20:21
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.

Autobuild: Fail if artifact1 can't be uploaded

3 participants