only checkout and ls

This commit is contained in:
Daniel Porzucek 2024-03-20 14:57:04 +01:00
parent ccb30334fa
commit b721426589

19
Jenkinsfile vendored
View File

@ -1,18 +1,5 @@
pipeline {
agent any
parameters {
string (
defaultValue: 'worldwidepaniel',
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'
)
}
stages {
stage('Checkout') {
steps {
@ -20,11 +7,5 @@ pipeline {
sh 'ls -las'
}
}
stage('Download dataset and manipulate dataset') {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
sh "./data_download.sh"
}
}
}
}