Update Jenkinsfile

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

18
Jenkinsfile vendored
View File

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