git clone

This commit is contained in:
szymonj98 2022-03-21 22:10:51 +01:00
parent ddc0fba96a
commit 5c4edd9e55

7
Jenkinsfile vendored
View File

@ -1,8 +1,8 @@
pipeline { pipeline {
agent any agent any
stages { parameters {
string( string(
defaultValue: 'Szymon Jadczak' defaultValue: 'Szymon Jadczak',
description: 'Kaggle username', description: 'Kaggle username',
name: 'KAGGLE_USERNAME', name: 'KAGGLE_USERNAME',
trim: false trim: false
@ -12,6 +12,7 @@ pipeline {
description: 'Kaggle token taken from kaggle.json file, as described in https://github.com/Kaggle/kaggle-api#api-credentials', description: 'Kaggle token taken from kaggle.json file, as described in https://github.com/Kaggle/kaggle-api#api-credentials',
name: 'KAGGLE_KEY' name: 'KAGGLE_KEY'
) )
}
environment { environment {
KAGGLE_USERNAME="$params.KAGGLE_USERNAME" KAGGLE_USERNAME="$params.KAGGLE_USERNAME"
KAGGLE_KEY="$params.KAGGLE_KEY" KAGGLE_KEY="$params.KAGGLE_KEY"
@ -23,5 +24,5 @@ pipeline {
sh: "KAGGLE_USERNAME=${KAGGLE_USERNAME} KAGGLE_KEY=${KAGGLE_KEY} ./download_dataset.sh" sh: "KAGGLE_USERNAME=${KAGGLE_USERNAME} KAGGLE_KEY=${KAGGLE_KEY} ./download_dataset.sh"
} }
} }
}
} }