Update 'lab10/Jenkinsfile_dvc'
This commit is contained in:
parent
15a0654847
commit
20bdfbddb6
@ -9,8 +9,10 @@ pipeline {
|
||||
steps {
|
||||
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']]])
|
||||
/*sh 'git clone https://git.wmi.amu.edu.pl/s449288/ium_s449288.git' - już raz wykonane*/
|
||||
sh 'ls -lh'
|
||||
sh 'cd ium_s449288'
|
||||
sh 'git pull origin master'
|
||||
sh 'ls -lh'
|
||||
withCredentials([sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY')]) {
|
||||
sh 'dvc remote modify --local ium_ssh_remote keyfile $IUM_SFTP_KEY'
|
||||
sh "dvc pull"
|
||||
|
Loading…
Reference in New Issue
Block a user