sript pipeline

This commit is contained in:
s487178 2023-04-19 18:55:14 +02:00
parent 47b232ac07
commit 47e279c6f7

View File

@ -34,10 +34,11 @@ pipeline {
stage('Run command in Docker container') {
steps {
// sh "docker run ium_s487178 python3 ./python_dataset_stats.py > output.txt"
script{
def localFilePath = "${WORKSPACE}/body_performance_processed.csv"
sh "docker run -v ${localFilePath}:${localFilePath} kubas99x/ium_s487178:1_1 python3 ./python_dataset_stats.py | tee output.txt"
}
}
}
}
}
post {