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-checkpatch.yaml b/tf-m-checkpatch.yaml
index f0fb1e8..a179bc1 100644
--- a/tf-m-checkpatch.yaml
+++ b/tf-m-checkpatch.yaml
@@ -58,6 +58,10 @@
- string:
name: 'MBEDTLS_URL'
default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
+ - string:
+ name: SHARE_FOLDER
+ default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
+ description: 'Folder containing shared repositories for downstream pipeline jobs'
wrappers:
- timestamps
pipeline-scm: