workspace method

This commit is contained in:
s487178 2023-04-19 18:50:24 +02:00
parent 1823f303e2
commit 47b232ac07

View File

@ -35,8 +35,8 @@ pipeline {
steps {
// sh "docker run ium_s487178 python3 ./python_dataset_stats.py > output.txt"
def localFilePath = file('body_performance_processed.csv').getAbsolutePath()
sh "docker run -v ${localFilePath}:${localFilePath} kubas99x/ium_s487178:1_1 python3 ./python_dataset_stats.py > output.txt"
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"
}
}
}