changed remote
This commit is contained in:
parent
5c3da8de84
commit
75928523db
5
dvc/Jenkinsfile
vendored
5
dvc/Jenkinsfile
vendored
@ -18,8 +18,11 @@ pipeline {
|
|||||||
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 'ssh ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl -i $IUM_SFTP_KEY'
|
sh 'ssh ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl -i $IUM_SFTP_KEY'
|
||||||
sh 'dvc remote modify --local ium_ssh_remote keyfile $IUM_SFTP_KEY'
|
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 modify --local ium_ssh_remote keyfile $IUM_SFTP_KEY"
|
||||||
sh "dvc pull"
|
sh "dvc pull"
|
||||||
|
sh "dvc reproduce"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user