From 8045054807998a58d933a42ee1a9476d552eb6ac Mon Sep 17 00:00:00 2001 From: Wojciech Jarmosz Date: Sun, 28 Mar 2021 00:44:20 +0100 Subject: [PATCH] Fix for jenkins config --- Jenkinsfile | 8 ++++---- data_stats.sh => data_download.sh | 0 2 files changed, 4 insertions(+), 4 deletions(-) rename data_stats.sh => data_download.sh (100%) diff --git a/Jenkinsfile b/Jenkinsfile index fff4de7..32ec3fa 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,15 +1,15 @@ pipeline { agent any stages { - node { - stage('Clone repo + run bash script') { + stage('Clone repo + run bash script') { + steps { withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}", "CUTOFF=${params.CUTOFF}" ]) { // Chekout na reporyztorium 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']]]) // Uruchomienie skryptu - sh "chmod 777 ./data_sets.sh" - sh "./data_sets.sh" + sh "chmod 777 ./data_download.sh" + sh "./data_download.sh" // Zapisanie artefaktów archiveArtifacts "MoviesOnStreamingPlatforms_updated.dev" archiveArtifacts "MoviesOnStreamingPlatforms_updated.test" diff --git a/data_stats.sh b/data_download.sh similarity index 100% rename from data_stats.sh rename to data_download.sh