3 Commits

Author SHA1 Message Date
Stephen Simpson
b4ffdb6560 Fix Jenkinsfile: Update existing-versions argument and enhance B2 sync command
Signed-off-by: Stephen Simpson <ssimpson89@users.noreply.github.com>
2025-12-05 11:07:08 -06:00
7032898a60 Update Jenkinsfile 2025-12-05 10:44:51 -06:00
Stephen Simpson
1ba181a084 Update default Rocky Linux version in Jenkinsfile to 9.7
Signed-off-by: Stephen Simpson <ssimpson89@users.noreply.github.com>
2025-12-05 09:43:50 -06:00

7
Jenkinsfile vendored
View File

@@ -42,7 +42,7 @@ spec:
parameters { parameters {
string( string(
name: 'VERSIONS', name: 'VERSIONS',
defaultValue: '8.10 9.6 10.1', defaultValue: '8.10 9.7 10.1',
description: 'Rocky Linux versions to build (space-separated)' description: 'Rocky Linux versions to build (space-separated)'
) )
string( string(
@@ -103,10 +103,9 @@ docker run --rm \
-v "$(pwd)/tmp:/data/tmp" \ -v "$(pwd)/tmp:/data/tmp" \
rocky-man:${BUILD_NUMBER} \ rocky-man:${BUILD_NUMBER} \
--versions ${VERSIONS} \ --versions ${VERSIONS} \
--verbose \
--parallel-downloads ${PARALLEL_DOWNLOADS} \ --parallel-downloads ${PARALLEL_DOWNLOADS} \
--parallel-conversions ${PARALLEL_CONVERSIONS} \ --parallel-conversions ${PARALLEL_CONVERSIONS} \
--existing-versions "${EXISTING_VERSIONS}" --existing-versions ${EXISTING_VERSIONS}
''' '''
} }
} }
@@ -128,7 +127,7 @@ docker run --rm \
-e B2_APPLICATION_KEY \ -e B2_APPLICATION_KEY \
-e B2_APPLICATION_KEY_ID \ -e B2_APPLICATION_KEY_ID \
backblazeit/b2:latest \ backblazeit/b2:latest \
b2v4 sync /workspace/html/ "b2://${B2_BUCKET_NAME}/" b2v4 sync --compare-versions size /workspace/html/ "b2://${B2_BUCKET_NAME}/"
''' '''
} }
} }