fix bracket 2

This commit is contained in:
Dawid 2021-06-12 18:21:12 +02:00
parent bfa9aad8f8
commit e8c3530e14

View File

@ -19,12 +19,14 @@ pipeline {
} }
} }
stage('DVC') { stage('DVC') {
withCredentials([string(credentialsId: 'ium-sftp-password', variable: 'IUM_SFTP_PASS')]) { steps {
sh "dvc init -f" 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 init -f"
sh "dvc remote modify --local ium_ssh_remote password $IUM_SFTP_PASS" sh "dvc remote add -d ium_ssh_remote ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl/ium-sftp"
sh "dvc pull" sh "dvc remote modify --local ium_ssh_remote password $IUM_SFTP_PASS"
sh "dvc reproduce" sh "dvc pull"
sh "dvc reproduce"
}
} }
} }
} }