diff --git a/Jenkinsfile b/Jenkinsfile index 06469a0..2021c46 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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" } } }