Skip to content

Commit 3d29d4b

Browse files
authored
Merge pull request #365 from linuxserver/add-commit-sha-and-build-number-to-test-environment
Add commit sha and build number to test environment
2 parents 6775a93 + e79e376 commit 3d29d4b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Jenkinsfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -860,8 +860,6 @@ 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}\" \
865863
-t ghcr.io/linuxserver/ci:${CITEST_IMAGETAG} \
866864
python3 test_build.py'''
867865
}

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)