diff --git a/Jenkinsfile b/Jenkinsfile index 520b95e..a136b7b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -31,6 +31,7 @@ pipeline { stage('Archive WER and SRR results') { steps { copyArtifacts filter: 'wer.txt srr.txt', fingerprintArtifacts: true, projectName: 's452097-metrics', selector: lastSuccessful(), target: 'previousResults' + sh('chmod +x ./addResults.sh') sh label: 'Add results to file', script: './addResults.sh' } } diff --git a/addResults.sh b/addResults.sh index d90bd30..35d9789 100644 --- a/addResults.sh +++ b/addResults.sh @@ -3,8 +3,8 @@ mv previousResults/wer.txt werNew.txt mv previousResults/srr.txt srrNew.txt -tail -n199 werNew.txt > werNew2.txt -tail -n199 srrNew.txt > srrNew2.txt +tail -n99 werNew.txt > werNew2.txt +tail -n99 srrNew.txt > srrNew2.txt cat wer.txt >> werNew2.txt cat srr.txt >> srrNew2.txt