Add dvc yaml solution lab10
This commit is contained in:
parent
cac8c302f6
commit
93658c5c7c
@ -13,15 +13,15 @@ pipeline{
|
|||||||
}
|
}
|
||||||
|
|
||||||
stage("DVC"){
|
stage("DVC"){
|
||||||
withCredentials([string(credentialsId: 'ium-sftp-password', variable: 'IUM_SFTP_PASS')]) {
|
|
||||||
steps{
|
steps{
|
||||||
sh 'pip install dvc'
|
withCredentials([string(credentialsId: 'ium-sftp-password', variable: 'IUM_SFTP_PASS')]) {
|
||||||
sh 'pip install dvc[ssh] paramiko'
|
sh 'pip install dvc'
|
||||||
sh "dvc init -f"
|
sh 'pip install dvc[ssh] paramiko'
|
||||||
sh "dvc remote add -d ium_ssh_remote ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl/ium-sftp"
|
sh "dvc init -f"
|
||||||
sh "dvc remote modify --local ium_ssh_remote password $IUM_SFTP_KEY"
|
sh "dvc remote add -d ium_ssh_remote ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl/ium-sftp"
|
||||||
sh "dvc pull"
|
sh "dvc remote modify --local ium_ssh_remote password $IUM_SFTP_KEY"
|
||||||
sh "dvc reproduce"
|
sh "dvc pull"
|
||||||
|
sh "dvc reproduce"
|
||||||
}}
|
}}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user