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