This commit is contained in:
ulaniuk 2022-04-03 21:51:33 +02:00
parent 142417372b
commit d7dc7bb848

17
Jenkinsfile vendored
View File

@ -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'
}