Update 'lab10/Jenkinsfile_dvc'
This commit is contained in:
parent
6ca4248c6e
commit
b8dd60d068
@ -11,8 +11,7 @@ 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'
|
||||||
echo 'Run instead of repro to show both stages working'
|
sh 'dvc repro -p'
|
||||||
sh 'dvc run'
|
|
||||||
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'
|
||||||
|
Loading…
Reference in New Issue
Block a user