.
All checks were successful
s434784-evaluation/pipeline/head This commit looks good
s434784-training/pipeline/head This commit looks good

This commit is contained in:
Maciej Sobkowiak 2021-06-12 23:21:58 +02:00
parent 47da5459a7
commit 3a384a3586

View File

@ -13,7 +13,7 @@ pipeline {
stage('dvc') { stage('dvc') {
steps { steps {
withCredentials( withCredentials(
[sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY', passphraseVariable: '', usernameVariable: '')]) { [sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY')]) {
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 keyfile $IUM_SFTP_KEY" sh "dvc remote modify --local ium_ssh_remote keyfile $IUM_SFTP_KEY"