local file path
This commit is contained in:
parent
3188b505de
commit
1823f303e2
@ -22,7 +22,6 @@ pipeline {
|
||||
// Add some debug steps to list the contents of the directories
|
||||
sh 'ls -l ./artifacts'
|
||||
sh 'ls -l ./'
|
||||
pwd
|
||||
}
|
||||
}
|
||||
/*
|
||||
@ -35,7 +34,9 @@ pipeline {
|
||||
stage('Run command in Docker container') {
|
||||
steps {
|
||||
// sh "docker run ium_s487178 python3 ./python_dataset_stats.py > output.txt"
|
||||
sh "docker run -v ./body_performance_processed.csv:./body_performance_processed.csv kubas99x/ium_s487178:1_1 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user