diff --git a/Jenkinsfile b/Jenkinsfile index 849f982..af28cd6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,23 +7,15 @@ pipeline { url: 'https://git.wmi.amu.edu.pl/s426274/s426274-mlworkshops.git' } } - stage('Copy Archive') { - steps { - script { - step ([$class: 'CopyArtifact', - projectName: 'ASR-eval', - filter: "wikiniews_results.tsv", - selector: lastSuccessful(), - fingerprintArtifacts: true, - target: 'wikiniews_results.tsv']); - } - } - } - stage('Count lines'){ +stage('Copy artifacts'){ steps { - sh('chmod +x ./script.bat') - sh('./script.bat') + copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful() + } + } + stage('Count lines and metrics'){ + steps { + sh('chmod +x ./script.sh') + sh('./script.sh') } } - } } \ No newline at end of file diff --git a/script.bat b/script.sh similarity index 100% rename from script.bat rename to script.sh