From 6ca4248c6e6d45262f2b251d1a7df32dbb6fc972 Mon Sep 17 00:00:00 2001 From: Kacper Dudzic Date: Mon, 30 May 2022 21:23:10 +0200 Subject: [PATCH] Update 'lab10/Jenkinsfile_dvc' --- lab10/Jenkinsfile_dvc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lab10/Jenkinsfile_dvc b/lab10/Jenkinsfile_dvc index 979e3de..69b4d4f 100644 --- a/lab10/Jenkinsfile_dvc +++ b/lab10/Jenkinsfile_dvc @@ -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' } }