diff --git a/lab10/Jenkinsfile_dvc b/lab10/Jenkinsfile_dvc index eaa9e7c..a5242ab 100644 --- a/lab10/Jenkinsfile_dvc +++ b/lab10/Jenkinsfile_dvc @@ -11,11 +11,6 @@ pipeline { checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 'f695fe86-8cca-47f7-a546-d3bfd1059fd4', url: 'https://git.wmi.amu.edu.pl/s449288/ium_s449288.git']]]) echo 'Checked out' /* sh 'git clone https://git.wmi.amu.edu.pl/s449288/ium_s449288.git' - wykonane raz */ - echo 'Changing into dvc repo and updating' - sh 'chmod o+x ium_s449288' - sh 'cd ium_s449288' - sh 'git pull origin master' - echo 'In ium_s449288 now' withCredentials([sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY')]) { echo 'Pulling from DVC' sh 'dvc remote modify --local ium_ssh_remote keyfile $IUM_SFTP_KEY'