2021-03-28 22:19:38 +02:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
stages {
|
2021-03-28 22:28:55 +02:00
|
|
|
stage('checkout: Check out from version control') {
|
2021-03-28 22:19:38 +02:00
|
|
|
steps {
|
2021-03-28 22:28:55 +02:00
|
|
|
git branch: 'master',
|
|
|
|
url: 'https://git.wmi.amu.edu.pl/s434784/ium_434784'
|
2021-03-28 22:19:38 +02:00
|
|
|
}
|
|
|
|
}
|
2021-03-28 22:41:59 +02:00
|
|
|
stage('sh: Shell Script') {
|
|
|
|
steps {
|
|
|
|
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
|
|
|
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
|
|
|
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
|
|
|
|
sh 'kaggle datasets list'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-03-28 22:19:38 +02:00
|
|
|
}
|
|
|
|
}
|