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