From 429ca55ab59a32c71eb979395867b29221e9adaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Ulaniuk?= Date: Sun, 27 Mar 2022 22:07:02 +0200 Subject: [PATCH] Fix --- Jenkinsfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 8a24257..63bfcf1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -19,8 +19,23 @@ node { stage('Build') { withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) { + sh 'echo "BUILD"' sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME' sh 'kaggle datasets list' } } + + stage('Preparation') { + withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", + "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) { + sh 'echo "PREPARATION"' + } + } + + stage('Statistics') { + withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", + "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) { + sh 'echo "STATISTICS"' + } + } }