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 {
|
pipeline {
|
||||||
agent {
|
agent {
|
||||||
dockerfile {
|
dockerfile true
|
||||||
additionalBuildArgs '-t ium'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
parameters {
|
parameters {
|
||||||
string (
|
string (
|
||||||
@ -33,8 +31,8 @@ pipeline {
|
|||||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||||
"KAGGLE_KEY=${params.KAGGLE_KEY}",
|
"KAGGLE_KEY=${params.KAGGLE_KEY}",
|
||||||
"CUTOFF=${params.CUTOFF}"]) {
|
"CUTOFF=${params.CUTOFF}"]) {
|
||||||
sh "docker run ium"
|
sh "chmod 777 dataset_script.sh"
|
||||||
sh "python3 main_docker.py"
|
sh "./dataset_script.sh $CUTOFF"
|
||||||
archiveArtifacts artifacts: "heart_2020_test.csv, heart_2020_train.csv, heart_2020_sorted.csv", onlyIfSuccessful: true
|
archiveArtifacts artifacts: "heart_2020_test.csv, heart_2020_train.csv, heart_2020_sorted.csv", onlyIfSuccessful: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user