Do not initialize DVC in Jenkinsfile

This commit is contained in:
Tomasz Ziętkiewicz 2021-06-06 23:51:55 +02:00
parent 3e2e91dba1
commit b9c01eace7

3
Jenkinsfile vendored
View File

@ -29,8 +29,7 @@ node {
stage("DVC"){ stage("DVC"){
withCredentials([sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY')]) { withCredentials([sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY')]) {
sh "dvc init -f" ssh-copy-id ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl
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"
sh "dvc pull" sh "dvc pull"
} }