From e3f655dc5b93fa36c9f845d83073ec20fdef97f9 Mon Sep 17 00:00:00 2001 From: Dominik Strzako Date: Tue, 8 Jun 2021 00:34:31 +0200 Subject: [PATCH] Tester --- Jenkinsfile_dvc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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'