From 381260fd3192f6bd855398b8f9ea1116e5230070 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Ga=C5=82ka?= Date: Tue, 18 Apr 2023 19:28:43 +0200 Subject: [PATCH] Update 'Jenkinsfile' --- Jenkinsfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 1a90792..55e7985 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -42,5 +42,12 @@ pipeline { archiveArtifacts 'ls.txt' } } + stage('Build') { + // Run the maven build + withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", + "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) { + sh 'kaggle datasets list' + } + } } } \ No newline at end of file