From ca7e5f6411bd6d0314b999197466b6c5616d01fa Mon Sep 17 00:00:00 2001 From: Alicja Szulecka Date: Tue, 26 Mar 2024 20:17:34 +0100 Subject: [PATCH] fix path --- stats/Jenkinsfile | 2 +- stats/stats_dataset.sh | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/stats/Jenkinsfile b/stats/Jenkinsfile index ace4658..144f59a 100644 --- a/stats/Jenkinsfile +++ b/stats/Jenkinsfile @@ -15,7 +15,7 @@ pipeline { } stage('Build') { steps { - sh "bash ./stats_dataset.sh" + sh "bash ./stats/stats_dataset.sh" archiveArtifacts artifacts: 'artifacts/*', onlyIfSuccessful: true } } diff --git a/stats/stats_dataset.sh b/stats/stats_dataset.sh index 567da06..600ed25 100644 --- a/stats/stats_dataset.sh +++ b/stats/stats_dataset.sh @@ -4,4 +4,6 @@ wc -l artifacts/meteorite_train.csv > stats_train.txt wc -l artifacts/meteorite_test.csv > stats_test.txt -wc -l artifacts/meteorite_validation.csv > stats_validation.txt \ No newline at end of file +wc -l artifacts/meteorite_validation.csv > stats_validation.txt + +mv stats_train.txt stats_test.txt meteorite_test.csv stats_validation.txt artifacts/ \ No newline at end of file