diff --git a/Jenkinsfile b/Jenkinsfile index 1bd56ab..5eac426 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,12 +9,7 @@ pipeline { } stage('Copy Archive') { steps { - script { - step ([$class: 'CopyArtifact', - projectName: 'ASR-eval', - filter: "wikiniews_results.tsv", - target: 'wikiniews_results.tsv']); - } + copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful() } } stage('Count lines'){ diff --git a/script.sh b/script.sh index 222b8d1..8025373 100644 --- a/script.sh +++ b/script.sh @@ -1,2 +1 @@ -#!/bin/bash -echo "xDD" \ No newline at end of file +wc -l wikiniews_results.tsv > numberOfLines.txt \ No newline at end of file