From 8453d45a80b760ea5025463088967de13695cecf Mon Sep 17 00:00:00 2001 From: Artur Nowakowski Date: Fri, 3 Apr 2020 10:52:24 +0200 Subject: [PATCH] Added missing steps --- Jenkinsfile | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d7dadd5..515a9fc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,16 +2,24 @@ pipeline { agent any stages { stage('Checkout') { - checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s416138/s416138-mlworkshops']]]) + steps{ + checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s416138/s416138-mlworkshops']]]) + } } stage('Copy results'){ - copyArtifacts filter: 'wikinews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful() + steps { + copyArtifacts filter: 'wikinews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful() + } } stage('Count lines'){ - sh label: '', script: './count_lines.sh' + steps{ + sh label: '', script: './count_lines.sh' + } } stage('Archive results'){ - archiveArtifacts 'counted_lines.txt' + steps{ + archiveArtifacts 'counted_lines.txt' + } } } }