Skip to content

Commit 6775a93

Browse files
authored
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…
2 parents dee8bcb + 56c1ca7 commit 6775a93

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Jenkinsfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -860,6 +860,8 @@ pipeline {
860860
-e WEB_PATH=\"${CI_WEBPATH}\" \
861861
-e NODE_NAME=\"${NODE_NAME}\" \
862862
-e SYFT_IMAGE_TAG=\"${CI_SYFT_IMAGE_TAG:-${SYFT_IMAGE_TAG}}\" \
863+
-e COMMIT_SHA=\"${COMMIT_SHA}\" \
864+
-e BUILD_NUMBER=\"${BUILD_NUMBER}\" \
863865
-t ghcr.io/linuxserver/ci:${CITEST_IMAGETAG} \
864866
python3 test_build.py'''
865867
}

0 commit comments

Comments
 (0)