1
This commit is contained in:
parent
142417372b
commit
d7dc7bb848
17
Jenkinsfile
vendored
17
Jenkinsfile
vendored
@ -1,5 +1,10 @@
|
||||
pipeline {
|
||||
agent any
|
||||
agent {
|
||||
dockerfile {
|
||||
additionalBuildArgs '-t ium'
|
||||
args '-e KAGGLE_USERNAME=${params.KAGGLE_USERNAME} -e KAGGLE_KEY=${params.KAGGLE_KEY}'
|
||||
}
|
||||
}
|
||||
parameters{
|
||||
password(
|
||||
defaultValue: '',
|
||||
@ -33,16 +38,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage("Dara Preparation") {
|
||||
agent {
|
||||
dockerfile {
|
||||
additionalBuildArgs '-t ium'
|
||||
args '-e KAGGLE_USERNAME=${params.KAGGLE_USERNAME} -e KAGGLE_KEY=${params.KAGGLE_KEY}'
|
||||
}
|
||||
}
|
||||
stage("Data Preparation") {
|
||||
steps {
|
||||
sh 'echo "PREPARATION"'
|
||||
sh "chmod u+x ./preparation.sh"
|
||||
sh "./preparation.sh"
|
||||
sh "python create_data.py"
|
||||
archiveArtifacts 'KaggleV2-May-2016.csv'
|
||||
@ -51,7 +49,6 @@ pipeline {
|
||||
stage("Statistics") {
|
||||
steps {
|
||||
sh 'echo "STATISTICS"'
|
||||
sh "chmod u+x ./statistics.sh"
|
||||
sh "./statistics.sh"
|
||||
archiveArtifacts 'statistics.csv'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user