Skip to content

_artifactcache.py: Don't push artifact blobs when no files are present

Benjamin Schubert requested to merge bschubert/fix-empty-buildtree into master

Description

When we are missing a shell, no file nor directory will be created in the resulting artifact. Trying to push this artifact used to fail since we would not handle this correctly.

This fixes the problem and adds a test to ensure it doesn't regress.

Fix #1145 (closed)

Edited by Benjamin Schubert

Merge request reports