pipeline { agent { docker { image 'shroomy/ium:6' } } stages { stage('Test') { steps { sh 'dvc remote add -f -d ium_ssh_remote ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl/ium-sftp' sh 'dvc remote list' sh 'dvc remote modify --local ium_ssh_remote password IUM@2021' sh 'dvc pull' sh "dvc reproduce" } } } post { success { archiveArtifacts 'vgsales_model_dvc.h5' mail body: 'SUCCESS', subject: 's434695 DVC', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms' } } }