From a05f64b70962c19000e77daba0c45c4ac8a2fc24 Mon Sep 17 00:00:00 2001 From: s407409 Date: Tue, 28 Mar 2023 21:58:40 +0200 Subject: [PATCH] Added archivization --- Jenkinsfile2 | 2 ++ download_data.sh | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile2 b/Jenkinsfile2 index 1a6ee39..e82df09 100644 --- a/Jenkinsfile2 +++ b/Jenkinsfile2 @@ -27,5 +27,7 @@ stage('Git clone') { "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) { sh 'download_data' } + + archiveArtifacts artifacts: 'data.val, data.test, data.train' } } \ No newline at end of file diff --git a/download_data.sh b/download_data.sh index 84b8812..aa01a3b 100644 --- a/download_data.sh +++ b/download_data.sh @@ -3,6 +3,6 @@ kaggle datasets download -d brezniczky/2019-european-parliament-election-in-poland-data unzip -o 2019-european-parliament-election-in-poland-data.zip shuf wyniki_gl_na_kand_po_obwodach_sheet_1.csv > data_shuf -head -n 100 vgsales_shuf > data.test -head -n 201 vgsales_shuf | tail -n 100 > data.val -head -n 1000 vgsales_shuf | tail -n 800 > data.train +head -n 100 data_shuf > data.test +head -n 201 data_shuf | tail -n 100 > data.val +head -n 1000 data_shuf | tail -n 800 > data.train