2021-03-27 19:39:22 +01:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
stages {
|
2021-03-28 00:44:20 +01:00
|
|
|
stage('Clone repo + run bash script') {
|
2021-03-28 18:14:48 +02:00
|
|
|
|
2021-03-27 22:37:36 +01:00
|
|
|
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
|
|
|
"KAGGLE_KEY=${params.KAGGLE_KEY}", "CUTOFF=${params.CUTOFF}" ]) {
|
2021-03-28 00:28:08 +01:00
|
|
|
// Uruchomienie skryptu
|
2021-03-28 00:44:20 +01:00
|
|
|
sh "chmod 777 ./data_download.sh"
|
|
|
|
sh "./data_download.sh"
|
2021-03-28 00:28:08 +01:00
|
|
|
// Zapisanie artefaktów
|
2021-03-27 22:37:36 +01:00
|
|
|
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
|
|
|
}
|
|
|
|
}
|