Add dvc yaml solution lab10

This commit is contained in:
michalzareba 2021-06-12 18:05:30 +02:00
parent 72fa344524
commit 40769ad534

View File

@ -14,13 +14,12 @@ pipeline{
stage("DVC"){ stage("DVC"){
steps{ steps{
withCredentials([string(credentialsId: 'ium-sftp-password', variable: 'IUM_SFTP_PASS')]) {
sh "dvc init -f" sh "dvc init -f"
sh "dvc remote add -d ium_ssh_remote ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl/ium-sftp" sh "dvc remote add -d ium_ssh_remote ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl/ium-sftp"
sh "dvc remote modify --local ium_ssh_remote password $IUM_SFTP_KEY" sh "dvc remote modify --local ium_ssh_remote password IUM@2021"
sh "dvc pull" sh "dvc pull"
sh "dvc reproduce" sh "dvc reproduce"
}} }
} }
} }
} }