diff --git a/Jenkinsfile b/Jenkinsfile index afd8440..f0eeae6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -13,6 +13,7 @@ pipeline { { steps { sh label:"", script:"bash ./count.sh" + archiveArtifacts 'lines_number.txt' } } } diff --git a/count.sh b/count.sh index 5df979c..a8ed6e8 100755 --- a/count.sh +++ b/count.sh @@ -1,3 +1,3 @@ var=$(wc -l "wikiniews_results.tsv") lines=${var%% *} -echo $lines +echo $lines > "lines_number.txt"