Changed Jenkinsfile
This commit is contained in:
parent
69be9e43d1
commit
7de7ed5ac0
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@ -3,7 +3,7 @@ pipeline {
|
|||||||
|
|
||||||
parameters {
|
parameters {
|
||||||
string(
|
string(
|
||||||
defaultValue: 'tomaszzitkiewicz',
|
defaultValue: 'gulczas',
|
||||||
description: 'Kaggle username',
|
description: 'Kaggle username',
|
||||||
name: 'KAGGLE_USERNAME',
|
name: 'KAGGLE_USERNAME',
|
||||||
trim: false
|
trim: false
|
||||||
@ -21,11 +21,13 @@ pipeline {
|
|||||||
git 'https://git.wmi.amu.edu.pl/s464953/ium_464953.git'
|
git 'https://git.wmi.amu.edu.pl/s464953/ium_464953.git'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
stage('Run Script') {
|
stage('Run Script') {
|
||||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
steps {
|
||||||
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
script {
|
||||||
sh 'bash download_dataset.sh $KAGGLE_USERNAME $KAGGLE_KEY'
|
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
|
||||||
|
sh 'bash download_dataset.sh $KAGGLE_USERNAME $KAGGLE_KEY'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Archive Artifacts') {
|
stage('Archive Artifacts') {
|
||||||
|
Loading…
Reference in New Issue
Block a user