.
This commit is contained in:
parent
a5b866ec0d
commit
e49c2aa5e1
18
Jenkinsfile
vendored
18
Jenkinsfile
vendored
@ -13,23 +13,17 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage('checkout: Check out from version control') {
|
stage('checkout: Check out from version control') {
|
||||||
steps {
|
steps {
|
||||||
git branch: 'master',
|
git 'https://git.wmi.amu.edu.pl/s434784/ium_434784'
|
||||||
url: 'https://git.wmi.amu.edu.pl/s434784/ium_434784'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('sh: Shell Script') {
|
stage('sh: Shell Script') {
|
||||||
steps {
|
steps {
|
||||||
// withEnv(['KAGGLE_USERNAME=$params.username',
|
withEnv(["KAGGLE_USERNAME=${params.username}",
|
||||||
// 'KAGGLE_KEY=$params.key' ]) {
|
|
||||||
// sh "KAGGLE_USERNAME=${params.username} KAGGLE_KEY=${params.key} kaggle datasets download -d szamil/who-suicide-statistics"
|
|
||||||
// sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
|
|
||||||
// sh 'kaggle datasets download -d szamil/who-suicide-statistics'
|
|
||||||
// }
|
|
||||||
withEnv(["KAGGLE_USERNAME=${params.username}",
|
|
||||||
"KAGGLE_KEY=${params.key}" ]) {
|
"KAGGLE_KEY=${params.key}" ]) {
|
||||||
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
|
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
|
||||||
sh 'kaggle datasets list'
|
sh 'chmod +x preparations.sh'
|
||||||
}
|
sh './preparations.sh'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
2
preparations.sh
Executable file
2
preparations.sh
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
kaggle datasets download -d szamil/who-suicide-statistics
|
||||||
|
|
Loading…
Reference in New Issue
Block a user