This commit is contained in:
piotrwrzodak 2023-04-21 01:01:51 +02:00
parent de39580cca
commit 57021784b3
2 changed files with 4 additions and 3 deletions

View File

@ -16,7 +16,6 @@ node {
stage('Copy Artifacts') {
copyArtifacts fingerprintArtifacts: true, projectName: 'z-s444510-create-dataset', selector: buildParameter('BUILD_SELECTOR')
sh 'ls -a ./data'
}
stage('Calculate Dataset Statistics') {
@ -24,6 +23,6 @@ node {
sh './dataset-stats.sh'
}
stage('Save artefact') {
archiveArtifacts artifacts: 'stats.txt', fingerprint: true
archiveArtifacts artifacts: 'data/stats.txt', fingerprint: true
}
}

View File

@ -1,3 +1,5 @@
#!/bin/bash
wc -l barcelona_weekends.dev.csv > stats.txt
wc -l data/barcelona_weekends.train.csv > lengths.txt
wc -l data/barcelona_weekends.dev.csv >> lengths.txt
wc -l data/barcelona_weekends.test.csv >> lengths.txt