diff --git a/Jenkinsfile b/Jenkinsfile index dce323c..fab51d3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,9 +2,24 @@ pipeline { agent any stages { - stage('Hello') { + stage('checkout: Check out from version control') { steps { - echo 'Hello World' + 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: './s416178-mlworkshops' + } + } + stage('sh: Shell Script') { + steps { + sh('./s416178-mlworkshops/shell_script.sh') + } + } + stage('archiveArtifacts') { + steps { + archiveArtifacts './s416178-mlworkshops/result.log' } } }