diff --git a/Jenkinsfile_dvc b/Jenkinsfile_dvc index 11d7968..c8f2b3a 100644 --- a/Jenkinsfile_dvc +++ b/Jenkinsfile_dvc @@ -18,9 +18,7 @@ pipeline { sh 'python -m pip install dvc[ssh] paramiko' } } - } - stage('DVC') { - steps { + stage('DVC') { withCredentials([string(credentialsId: 'ium-sftp-password', variable: 'IUM_SFTP_PASS')]) { sh "dvc init -f" sh "dvc remote add -d ium_ssh_remote ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl/ium-sftp"