diff --git a/Jenkinsfile_dvc b/Jenkinsfile_dvc index 8b393e1..aa2a505 100644 --- a/Jenkinsfile_dvc +++ b/Jenkinsfile_dvc @@ -3,12 +3,20 @@ pipeline { stages { stage('Test') { steps { - sh 'echo hi' + git 'https://git.wmi.amu.edu.pl/s434788/ium_434788/src/branch/DVC.git' + + 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 'sample.txt' + mail body: 'SUCCESS', subject: 's434788 DVC', to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'