Update Jenkinsfile

This commit is contained in:
2025-11-25 13:41:19 -06:00
parent 7bda4a1155
commit a0994a5c16

16
Jenkinsfile vendored
View File

@@ -78,18 +78,18 @@ docker tag rocky-man:${BUILD_NUMBER} rocky-man:latest
stage('Build Man Pages') {
steps {
container('docker-cli') {
sh """
sh '''
# Create output directories
mkdir -p ./html ./tmp
# Run the container to build man pages - FIXED ESCAPING
docker run --rm \\
-v \"\$(pwd)/html:/app/html\" \\
-v \"\$(pwd)/tmp:/data/tmp\" \\
rocky-man:${BUILD_NUMBER} \\
--versions \"${params.VERSIONS}\" \\
# Run the container to build man pages
docker run --rm \
-v "$(pwd)/html:/app/html" \
-v "$(pwd)/tmp:/data/tmp" \
rocky-man:${BUILD_NUMBER} \
--versions ${VERSIONS} \
--verbose
"""
'''
}
}
}