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:
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
@@ -42,7 +42,7 @@ spec:
|
|||||||
parameters {
|
parameters {
|
||||||
string(
|
string(
|
||||||
name: 'VERSIONS',
|
name: 'VERSIONS',
|
||||||
defaultValue: '8.10 9.6 10.0',
|
defaultValue: '8.10 9.6 10.1',
|
||||||
description: 'Rocky Linux versions to build (space-separated)'
|
description: 'Rocky Linux versions to build (space-separated)'
|
||||||
)
|
)
|
||||||
string(
|
string(
|
||||||
@@ -50,6 +50,16 @@ spec:
|
|||||||
defaultValue: 'rockyman',
|
defaultValue: 'rockyman',
|
||||||
description: 'B2 bucket name for uploads'
|
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 {
|
options {
|
||||||
@@ -88,7 +98,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
|
--verbose \
|
||||||
|
--parallel-downloads ${PARALLEL_DOWNLOADS} \
|
||||||
|
--parallel-conversions ${PARALLEL_CONVERSIONS}
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user