Docker jenkinsfile fix - removed docker run
This commit is contained in:
parent
c355852e60
commit
dc79ffe866
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -1,8 +1,6 @@
|
||||
pipeline {
|
||||
agent {
|
||||
dockerfile {
|
||||
additionalBuildArgs '-t ium'
|
||||
}
|
||||
dockerfile true
|
||||
}
|
||||
parameters {
|
||||
string (
|
||||
@ -33,8 +31,8 @@ pipeline {
|
||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||
"KAGGLE_KEY=${params.KAGGLE_KEY}",
|
||||
"CUTOFF=${params.CUTOFF}"]) {
|
||||
sh "docker run ium"
|
||||
sh "python3 main_docker.py"
|
||||
sh "chmod 777 dataset_script.sh"
|
||||
sh "./dataset_script.sh $CUTOFF"
|
||||
archiveArtifacts artifacts: "heart_2020_test.csv, heart_2020_train.csv, heart_2020_sorted.csv", onlyIfSuccessful: true
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user