Skip to content

Commit e79e376

Browse files
committed
Pass the COMMIT_SHA and BUILD_NUMBER env to the CI container so we can use the build cache for sbom generation.
1 parent dbd9be2 commit e79e376

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ansible/roles/repository/templates/Jenkinsfile.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1229,6 +1229,8 @@ pipeline {
12291229
-e WEB_PATH=\"${CI_WEBPATH}\" \
12301230
-e NODE_NAME=\"${NODE_NAME}\" \
12311231
-e SYFT_IMAGE_TAG=\"${CI_SYFT_IMAGE_TAG:-${SYFT_IMAGE_TAG}}\" \
1232+
-e COMMIT_SHA=\"${COMMIT_SHA}\" \
1233+
-e BUILD_NUMBER=\"${BUILD_NUMBER}\" \
12321234
-t ghcr.io/linuxserver/ci:${CITEST_IMAGETAG} \
12331235
python3 test_build.py'''
12341236
}

0 commit comments

Comments
 (0)