ium_434695/Jenkinsfile_DVC

25 lines
674 B
Plaintext

pipeline {
agent {
docker { image 'shroomy/ium:8' }
}
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'
}
}
}