From bfa9aad8f8c87812c996ad42f8fce72acba0d224 Mon Sep 17 00:00:00 2001 From: Dawid Date: Sat, 12 Jun 2021 18:19:38 +0200 Subject: [PATCH] fix bracket 2 --- Jenkinsfile_dvc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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"