From 30576f79d60280de3985a3abed2ca20cb658fa50 Mon Sep 17 00:00:00 2001 From: s416178 Date: Fri, 3 Apr 2020 11:57:33 +0200 Subject: [PATCH] Modify Jenkinsfile --- Jenkinsfile | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 324924b..87bf1ba 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,24 +2,16 @@ pipeline { agent { dockerfile true } stages { - stage('checkout: Check out from version control') { + stage('Prepare environment') { steps { git 'https://git.wmi.amu.edu.pl/s416178/s416178-mlworkshops' - } - } - stage('copyArtifacts') { - steps { copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './' } } - stage('sh: Shell Script') { + stage('Run script and save results') { steps { sh('chmod +x ./shell_script.sh') sh('./shell_script.sh wikiniews_results.tsv > result.log') - } - } - stage('archiveArtifacts') { - steps { archiveArtifacts 'result.log' } }