This commit is contained in:
Dominik Strzako 2021-06-08 00:34:31 +02:00
parent b77042df83
commit e3f655dc5b

View File

@ -3,12 +3,20 @@ pipeline {
stages { stages {
stage('Test') { stage('Test') {
steps { 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 { post {
success { success {
archiveArtifacts 'sample.txt'
mail body: 'SUCCESS', mail body: 'SUCCESS',
subject: 's434788 DVC', subject: 's434788 DVC',
to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms' to: '26ab8f35.uam.onmicrosoft.com@emea.teams.ms'