Docker jenkinsfile fix - added docker run
This commit is contained in:
parent
48be43911f
commit
c355852e60
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -1,6 +1,8 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
agent {
|
||||||
dockerfile true
|
dockerfile {
|
||||||
|
additionalBuildArgs '-t ium'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
parameters {
|
parameters {
|
||||||
string (
|
string (
|
||||||
@ -31,8 +33,7 @@ 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 "ls"
|
sh "docker run ium"
|
||||||
sh "cd app"
|
|
||||||
sh "python3 main_docker.py"
|
sh "python3 main_docker.py"
|
||||||
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