now it works

This commit is contained in:
s495716 2024-03-29 19:13:55 +01:00
parent d0c7f251bc
commit 26686d9660
2 changed files with 8 additions and 6 deletions

4
stats/Jenkinsfile vendored
View File

@ -1,9 +1,11 @@
node {
checkout scm
stage("File stats") {
docker.image('jvncziii/ium:latest').withRun('') { c->
copyArtifacts filter:'train.csv', fingerprintArtifacts: true, projectName: 'z-s495716-create-dataset', selector: buildParameter('BUILD_SELECTOR')
copyArtifacts(projectName: 'z-s495716-create-dataset', selector: lastSuccessful(), filter: 'train.csv')
sh 'chmod 777 stats/data_stats.sh'
sh './stats/data_stats.sh'
archiveArtifacts artifacts: 'train_lines.txt', followSymlinks: false
}
}
}

View File

@ -1,3 +1,3 @@
#!/bin/bash
figlet "Counting dataset lines"
wc -l cutoff_train.csv > train_lines.txt
wc -l train.csv > train_lines.txt