From 4785ba0f5b694646462c69bcdf05abe18fb297d3 Mon Sep 17 00:00:00 2001 From: ulaniuk Date: Sun, 3 Apr 2022 22:04:36 +0200 Subject: [PATCH] 1 --- Jenkinsfile | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) 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" } } }