Update 'lab10/Jenkinsfile_dvc'

This commit is contained in:
Kacper Dudzic 2022-05-30 21:29:16 +02:00
parent b8dd60d068
commit 4d51c168d7

View File

@ -11,10 +11,11 @@ pipeline {
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'
sh 'dvc repro -p'
sh 'dvc repro'
echo 'Files resulting from pipeline:'
sh 'ls -lh lego_reg_model'
sh 'head lego_reg_results.csv'
sh 'rm -r dvc.lock'
}
}
}