diff --git a/Jenkinsfile b/Jenkinsfile index 131149a..472ca4b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,15 +7,10 @@ pipeline { url: 'https://git.wmi.amu.edu.pl/s426274/s426274-mlworkshops.git' } } - stage('Copy Archive') { + stage('copyArtifacts') { steps { - script { - step ([$class: 'CopyArtifact', - filter: "wikiniews_results.tsv", - fingerprintArtifacts: true, - projectName: 'ASR-eval', - selector: lastSuccessful()]); - } + copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './' + } } stage('Count lines'){