From 3c587d17f5cf71857388131afd5350d9e0149b9a Mon Sep 17 00:00:00 2001 From: Wojciech Lidwin Date: Sun, 26 Mar 2023 16:07:40 +0200 Subject: [PATCH] Fix 2 --- Jenkinsfile.txt | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 Jenkinsfile.txt diff --git a/Jenkinsfile.txt b/Jenkinsfile.txt deleted file mode 100644 index d2ddf46..0000000 --- a/Jenkinsfile.txt +++ /dev/null @@ -1,27 +0,0 @@ -node { - stage('Preparation') { - properties([ - parameters([ - string( - defaultValue: 'jaszwajcar', - description: 'Kaggle username', - name: 'KAGGLE_USERNAME', - trim: false - ), - password( - defaultValue: '', - description: 'Kaggle token taken from kaggle.json file, as described in https://github.com/Kaggle/kaggle-api#api-credentials', - name: 'KAGGLE_KEY' - ) - ]) - ]) - } - stage('Build') { - // Run the maven build - withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", - "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) { - sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME' - sh 'kaggle datasets list' - } - } -} \ No newline at end of file