Include the share folder parameter
Introduce the SHARE_FOLDER parameter which indicates where to locate
the job's share folder which is further populated by several
repositories (see [1]) and consequently share it to downstream
jobs. For maximum repository reuse, upstream jobs should populate it
so any downstream job can benefit and avoid re-populating. The latter
implied that several upstream level jobs required repository
parameters for TF-M related repositories.
[1] https://review.trustedfirmware.org/c/ci/tf-m-ci-scripts/+/11562
Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org>
Change-Id: I8bef216418891e39176dcd7b3bd2560a9f3afc22
diff --git a/tf-m-build-docs.yaml b/tf-m-build-docs.yaml
index 0f504d5..e623f07 100644
--- a/tf-m-build-docs.yaml
+++ b/tf-m-build-docs.yaml
@@ -79,6 +79,10 @@
- string:
name: 'TFM_TESTS_REFSPEC'
default: 'refs/heads/master'
+ - string:
+ name: SHARE_FOLDER
+ default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
+ description: 'Folder containing shared repositories for downstream pipeline jobs'
wrappers:
- timestamps
pipeline-scm: