refactoring
This commit is contained in:
parent
f4a434017f
commit
4556535dae
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@ -1,5 +1,9 @@
|
||||
pipeline {
|
||||
|
||||
agent {
|
||||
dockerfile {
|
||||
additionalBuildArgs "--build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=${params.KAGGLE_KEY} --build-arg CUTOFF=${params.CUTOFF} -t ium"
|
||||
}
|
||||
}
|
||||
parameters {
|
||||
string (
|
||||
defaultValue: 'mikolajpokrywka',
|
||||
@ -19,11 +23,6 @@ pipeline {
|
||||
trim: false
|
||||
)
|
||||
}
|
||||
agent {
|
||||
dockerfile {
|
||||
additionalBuildArgs "-e KAGGLE_USERNAME=${params.KAGGLE_USERNAME} -e KAGGLE_KEY=${params.KAGGLE_KEY} -t ium"
|
||||
}
|
||||
}
|
||||
stages {
|
||||
stage('checkout: Check out from version control') {
|
||||
steps {
|
||||
@ -36,7 +35,7 @@ pipeline {
|
||||
"KAGGLE_KEY=${params.KAGGLE_KEY}",
|
||||
"CUTOFF=${params.CUTOFF}"]) {
|
||||
// sh "./process_data.sh"
|
||||
sh "python3 download_data_and_process.py"
|
||||
sh 'python3 ./download_data_and_process.py'
|
||||
archiveArtifacts artifacts: "data_test.csv, data_dev.csv, data_train.csv, column_titles.csv"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user