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' } }