From fcd2ba3164fd13167190dcac2f7d544dd8ac28dc Mon Sep 17 00:00:00 2001 From: Wojciech Jarmosz Date: Sun, 28 Mar 2021 18:18:45 +0200 Subject: [PATCH] Fix Jenkins config --- Jenkinsfile | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 15a3fbd..4a6ccd8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,19 +1,18 @@ pipeline { - agent any - stages { - stage('Clone repo + run bash script') { - - withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", - "KAGGLE_KEY=${params.KAGGLE_KEY}", "CUTOFF=${params.CUTOFF}" ]) { - // Uruchomienie skryptu - sh "chmod 777 ./data_download.sh" - sh "./data_download.sh" - // Zapisanie artefaktów - archiveArtifacts "MoviesOnStreamingPlatforms_updated.dev" - archiveArtifacts "MoviesOnStreamingPlatforms_updated.test" - archiveArtifacts "MoviesOnStreamingPlatforms_updated.train" - } +agent any +stages { + stage('Clone repo + run bash script') { + + withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", + "KAGGLE_KEY=${params.KAGGLE_KEY}", "CUTOFF=${params.CUTOFF}" ]) { + // Uruchomienie skryptu + sh "chmod 777 ./data_download.sh" + sh "./data_download.sh" + // Zapisanie artefaktów + archiveArtifacts "MoviesOnStreamingPlatforms_updated.dev" + archiveArtifacts "MoviesOnStreamingPlatforms_updated.test" + archiveArtifacts "MoviesOnStreamingPlatforms_updated.train" } - } - } + } + } } \ No newline at end of file