This commit is contained in:
ulaniuk 2022-04-03 22:04:36 +02:00
parent d975d4fb97
commit 4785ba0f5b

12
Jenkinsfile vendored
View File

@ -1,10 +1,5 @@
pipeline {
agent {
dockerfile {
additionalBuildArgs '-t ium'
args '-e KAGGLE_USERNAME=${params.KAGGLE_USERNAME} -e KAGGLE_KEY=${params.KAGGLE_KEY}'
}
}
agent any
parameters{
password(
defaultValue: '',
@ -39,7 +34,7 @@ pipeline {
}
}
stage("Data Preparation") {
agent {
agent {
dockerfile {
additionalBuildArgs '-t ium'
args '-e KAGGLE_USERNAME=${params.KAGGLE_USERNAME} -e KAGGLE_KEY=${params.KAGGLE_KEY}'
@ -52,8 +47,7 @@ pipeline {
}
stage("Statistics") {
steps {
sh 'echo "STATISTICS"'
sh "python stats_data.py"
sh "python stats.py"
}
}
}