download test
This commit is contained in:
parent
d2defd8dd0
commit
c56a8950b8
17
Jenkinsfile
vendored
17
Jenkinsfile
vendored
@ -2,10 +2,15 @@ pipeline {
|
||||
agent any
|
||||
parameters {
|
||||
string (
|
||||
defaultValue: 'Hello World!',
|
||||
description: 'Tekst, którym chcesz przywitać świat',
|
||||
name: 'INPUT_TEXT',
|
||||
defaultValue: 'heatedboss2',
|
||||
description: 'Kaggle username',
|
||||
name: 'KAGGLE_USERNAME',
|
||||
trim: false
|
||||
),
|
||||
password (
|
||||
defaultValue: '',
|
||||
description: 'Kaggle token',
|
||||
name: 'KAGGLE_KEY'
|
||||
)
|
||||
}
|
||||
stages {
|
||||
@ -17,7 +22,11 @@ pipeline {
|
||||
stage('Script') {
|
||||
steps {
|
||||
script {
|
||||
sh 'ls -la'
|
||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}","KAGGLE_KEY=${params.KAGGLE_KEY}" ])
|
||||
{
|
||||
sh 'ls -la'
|
||||
sh './download.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
2
download.sh
Normal file
2
download.sh
Normal file
@ -0,0 +1,2 @@
|
||||
echo 'Downloading Dataset'
|
||||
kaggle datasets download -d aleksandrglotov/car-prices-poland
|
Loading…
Reference in New Issue
Block a user