workspace method
This commit is contained in:
parent
1823f303e2
commit
47b232ac07
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user