Update 'lab10/Jenkinsfile_dvc'
This commit is contained in:
parent
b8dd60d068
commit
4d51c168d7
@ -11,10 +11,11 @@ pipeline {
|
|||||||
withCredentials([sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY')]) {
|
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 remote modify --local ium_ssh_remote keyfile $IUM_SFTP_KEY'
|
||||||
sh 'dvc pull'
|
sh 'dvc pull'
|
||||||
sh 'dvc repro -p'
|
sh 'dvc repro'
|
||||||
echo 'Files resulting from pipeline:'
|
echo 'Files resulting from pipeline:'
|
||||||
sh 'ls -lh lego_reg_model'
|
sh 'ls -lh lego_reg_model'
|
||||||
sh 'head lego_reg_results.csv'
|
sh 'head lego_reg_results.csv'
|
||||||
|
sh 'rm -r dvc.lock'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user