From 3f9819939ac3203b63610f338106d454051aa7c0 Mon Sep 17 00:00:00 2001 From: Agata Kulhawczuk Date: Mon, 30 May 2022 11:30:40 +0200 Subject: [PATCH] Zaktualizuj 'dvc.Jenkinsfile' --- dvc.Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvc.Jenkinsfile b/dvc.Jenkinsfile index eccdcde..039b9f9 100644 --- a/dvc.Jenkinsfile +++ b/dvc.Jenkinsfile @@ -7,7 +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( - [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: 'USER')]) { sh 'dvc remote modify --local ium_ssh_remote keyfile $IUM_SFTP_KEY' sh 'dvc pull'} }