kaggle config

This commit is contained in:
s434765 2021-03-27 19:38:42 +01:00
parent c85e947ae2
commit d2347c3528

15
Jenkinsfile vendored
View File

@ -1,8 +1,21 @@
pipeline {
agent any
stages {
stage('Preparation') {
properties([
parameters([
string(defaultValue: 'karopa',
description: 'Kaggle username',
name: 'KAGGLE_USERNAME',
trim: false),
password(defaultValue: '',
description: 'Kaggle token',
name: 'KAGGLE_KEY')
]
)
}
stage('Clone repo') {
steps {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}"]){
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s434765/ium_434765']]])
sh 'chmod 777 get_data_simple.sh'
sh './get_data_simple.sh'