dvc refactoring

This commit is contained in:
Mikołaj Pokrywka 2022-06-05 15:37:29 +02:00
parent bd413e5ca6
commit 6cac128b9c

View File

@ -18,9 +18,10 @@ pipeline {
stage('reproduce') { stage('reproduce') {
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', passphraseVariable: '', usernameVariable: 's444463')]) {
sh 'dvc remote add -f -d ium_ssh_remote ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl/ium-sftp' sh 'dvc remote add -f -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 USERNAME='s444463'
sh 'dvc pull' sh 'dvc pull'
sh 'dvc repro' sh 'dvc repro'
sh ll sh ll