2021-03-27 19:39:22 +01:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
stages {
|
2021-03-27 22:37:36 +01:00
|
|
|
node {
|
|
|
|
stage('Clone repo + run bash script') {
|
|
|
|
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
|
|
|
"KAGGLE_KEY=${params.KAGGLE_KEY}", "CUTOFF=${params.CUTOFF}" ]) {
|
|
|
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: 'f746c8e0-e974-4758-838d-1920a7b0e3dc', url: 'https://git.wmi.amu.edu.pl/s434704/ium_434704']]])
|
|
|
|
sh "chmod 777 ./data_sets.sh"
|
|
|
|
sh "./data_sets.sh"
|
|
|
|
archiveArtifacts "MoviesOnStreamingPlatforms_updated.dev"
|
|
|
|
archiveArtifacts "MoviesOnStreamingPlatforms_updated.test"
|
|
|
|
archiveArtifacts "MoviesOnStreamingPlatforms_updated.train"
|
|
|
|
}
|
2021-03-27 19:39:22 +01:00
|
|
|
}
|
2021-03-27 22:37:36 +01:00
|
|
|
}
|
2021-03-27 19:39:22 +01:00
|
|
|
}
|
|
|
|
}
|