Update 'lab10/Jenkinsfile_dvc'

This commit is contained in:
Kacper Dudzic 2022-05-30 21:23:10 +02:00
parent e75a861437
commit 6ca4248c6e
1 changed files with 3 additions and 2 deletions

View File

@ -11,9 +11,10 @@ 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'
echo 'Run instead of repro to show both stages working'
sh 'dvc run'
echo 'Files resulting from pipeline:'
sh 'ls -lh lego-model'
sh 'ls -lh lego_reg_model'
sh 'head lego_reg_results.csv'
}
}