fix error and change stats script

This commit is contained in:
PawelDopierala 2024-04-02 20:45:01 +02:00
parent cbc64f8115
commit 6f1f4c00f3
3 changed files with 8 additions and 3 deletions

2
Jenkinsfile vendored
View File

@ -42,7 +42,7 @@ pipeline {
}
stage('Artifacts') {
steps {
def artifactsList = ['hp_train.csv', 'hp_dev.csv', 'hp_test.csv'']
def artifactsList = ['hp_train.csv', 'hp_dev.csv', 'hp_test.csv']
artifactsList.each { artifact ->
archiveArtifacts artifacts: artifact
}

View File

@ -31,7 +31,10 @@ pipeline {
}
stage('Artifacts') {
steps {
archiveArtifacts artifacts: 'stats.txt'
def artifactsList = ['hp_train_stats.csv', 'hp_dev_stats.csv', 'hp_test_stats.csv'']
artifactsList.each { artifact ->
archiveArtifacts artifacts: artifact
}
}
}
}

View File

@ -1,2 +1,4 @@
#!/bin/bash
wc -l processed_data.txt > stats.txt
wc -l hp_train.csv > hp_train_stats.csv
wc -l hp_dev.csv > hp_dev_stats.csv
wc -l hp_test.csv > hp_test_stats.csv