diff --git a/dvc.Jenkinsfile b/dvc.Jenkinsfile index cd35608..33c6aca 100644 --- a/dvc.Jenkinsfile +++ b/dvc.Jenkinsfile @@ -7,8 +7,7 @@ pipeline { steps { checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 's444421', url: 'https://git.wmi.amu.edu.pl/s444421/ium_444421.git']]]) withCredentials([string(credentialsId: 'ium-sftp-password', variable: 'IUM_SFTP_PASS')]) { - 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_SFTP_PASS' sh 'dvc pull' } }