From fa355912ff5a4f03d172aa4980df64373b6835d3 Mon Sep 17 00:00:00 2001 From: Ufnow Date: Tue, 21 Apr 2020 20:51:35 +0200 Subject: [PATCH] as --- Jenkinsfile | 7 +------ script.sh | 3 +-- 2 files changed, 2 insertions(+), 8 deletions(-) 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