diff --git a/Jenkinsfile b/Jenkinsfile index 9f29fdc..e54f597 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,8 +1,6 @@ -pipeline { - agent any - stages { +node { stage('Preparation') { - steps{ + properties([ parameters([ string(defaultValue: 'karopa', @@ -16,10 +14,9 @@ pipeline { ]) ] ) - } + } 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' @@ -30,6 +27,4 @@ pipeline { archiveArtifacts data_train } } - } - } -} \ No newline at end of file + } \ No newline at end of file