Merge pull request #363 from linuxserver/add-commit-sha-and-build-number-to-test-environment

Pass the COMMIT_SHA and BUILD_NUMBER env to the CI container so we ca…
This commit is contained in:
GilbN 2025-11-08 18:22:35 +01:00 committed by GitHub
commit 6775a93ec5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
Jenkinsfile vendored
View File

@ -860,6 +860,8 @@ pipeline {
-e WEB_PATH=\"${CI_WEBPATH}\" \
-e NODE_NAME=\"${NODE_NAME}\" \
-e SYFT_IMAGE_TAG=\"${CI_SYFT_IMAGE_TAG:-${SYFT_IMAGE_TAG}}\" \
-e COMMIT_SHA=\"${COMMIT_SHA}\" \
-e BUILD_NUMBER=\"${BUILD_NUMBER}\" \
-t ghcr.io/linuxserver/ci:${CITEST_IMAGETAG} \
python3 test_build.py'''
}