fixup! wip: ci: Keep workspace between builds
Some checks failed
dustin/kitchenos/pipeline/head There was a failure building this commit
Some checks failed
dustin/kitchenos/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -3,12 +3,13 @@
|
||||
package_name=${JOB_NAME#*/}
|
||||
package_name=${package_name%%/*}-workspace
|
||||
|
||||
tar -czf workspace.tar.gz -C _build \
|
||||
build \
|
||||
host \
|
||||
staging \
|
||||
target \
|
||||
Makefile
|
||||
(
|
||||
cd _build
|
||||
find . \
|
||||
-mindepth 1 -maxdepth 1 \
|
||||
-not -name images \
|
||||
-print0
|
||||
) | xargs -0 tar -czf workspace.tar.gz -C _build
|
||||
|
||||
curl -u "${GITEA_AUTH}" \
|
||||
"https://git.pyrocufflink.net/api/packages/jenkins/generic/${package_name}/${BUILD_NUMBER}/workspace.tar.gz"
|
||||
|
||||
Reference in New Issue
Block a user