Update Jenkinsfile to modify default Rocky Linux version and add parameters for parallel downloads and conversions
Signed-off-by: Stephen Simpson <stevo81989@gmail.com>
This commit is contained in:
18
Jenkinsfile
vendored
18
Jenkinsfile
vendored
@@ -42,7 +42,7 @@ spec:
|
||||
parameters {
|
||||
string(
|
||||
name: 'VERSIONS',
|
||||
defaultValue: '8.10 9.6 10.0',
|
||||
defaultValue: '8.10 9.6 10.1',
|
||||
description: 'Rocky Linux versions to build (space-separated)'
|
||||
)
|
||||
string(
|
||||
@@ -50,6 +50,16 @@ spec:
|
||||
defaultValue: 'rockyman',
|
||||
description: 'B2 bucket name for uploads'
|
||||
)
|
||||
number(
|
||||
name: 'PARALLEL_DOWNLOADS',
|
||||
defaultValue: 5,
|
||||
description: 'Number of parallel downloads'
|
||||
)
|
||||
number(
|
||||
name: 'PARALLEL_CONVERSIONS',
|
||||
defaultValue: 10,
|
||||
description: 'Number of parallel conversions'
|
||||
)
|
||||
}
|
||||
|
||||
options {
|
||||
@@ -87,8 +97,10 @@ docker run --rm \
|
||||
-v "$(pwd)/html:/app/html" \
|
||||
-v "$(pwd)/tmp:/data/tmp" \
|
||||
rocky-man:${BUILD_NUMBER} \
|
||||
--versions ${VERSIONS} \
|
||||
--verbose
|
||||
--versions ${VERSIONS} \
|
||||
--verbose \
|
||||
--parallel-downloads ${PARALLEL_DOWNLOADS} \
|
||||
--parallel-conversions ${PARALLEL_CONVERSIONS}
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user