Merge branch 'main' of https://git.wmi.amu.edu.pl/s444409/ium_444409
This commit is contained in:
commit
fa95822a21
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
@ -13,10 +13,6 @@ pipeline {
|
|||||||
name: 'KAGGLE_KEY'
|
name: 'KAGGLE_KEY'
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
environment {
|
|
||||||
KAGGLE_USERNAME="$params.KAGGLE_USERNAME"
|
|
||||||
KAGGLE_KEY="$params.KAGGLE_KEY"
|
|
||||||
}
|
|
||||||
stages {
|
stages {
|
||||||
stage('Install dependencies') {
|
stage('Install dependencies') {
|
||||||
steps {
|
steps {
|
||||||
@ -25,15 +21,11 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Fetch and split dataset') {
|
stage('Fetch and split dataset') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||||
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
sh "chmod u+x ./download_dataset.sh"
|
||||||
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
|
sh "./download_dataset.sh"
|
||||||
sh 'kaggle datasets list'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
sh "chmod u+x ./download_dataset.sh"
|
|
||||||
sh "./download_dataset.sh"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user