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

12
stats/Jenkinsfile vendored
View File

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

View File

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