From 09b5c5403b6b461514ee1c3ca90a75c43663b0d7 Mon Sep 17 00:00:00 2001 From: Olga Date: Fri, 3 Apr 2020 14:01:10 +0200 Subject: [PATCH] add ex1 ii and iii --- Jenkinsfile | 10 ++++++++++ count.sh | 1 + 2 files changed, 11 insertions(+) create mode 100644 count.sh diff --git a/Jenkinsfile b/Jenkinsfile index b7193e7..29f098a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -13,5 +13,15 @@ pipeline { url: 'https://git.wmi.amu.edu.pl/s452092/s4520929-mlworkshops.git']]]) } } + stage('Copy Archive') { + steps { + copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful() + } + } + stage('Count Words') { + steps { + sh './count.sh' + } + } } } \ No newline at end of file diff --git a/count.sh b/count.sh new file mode 100644 index 0000000..5b63f36 --- /dev/null +++ b/count.sh @@ -0,0 +1 @@ +wc -l wikiniews_results.tsv > results.txt \ No newline at end of file