Update 'lab10/Jenkinsfile_dvc'
This commit is contained in:
parent
e75a861437
commit
6ca4248c6e
@ -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'
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user