fix: jenkinsfile-dvc
This commit is contained in:
parent
97e9f584e7
commit
cc11c07fa8
|
@ -9,9 +9,9 @@ node {
|
||||||
sh "chmod +x -R ${env.WORKSPACE}"
|
sh "chmod +x -R ${env.WORKSPACE}"
|
||||||
def dockerImage = docker.build("s424714-model:latest")
|
def dockerImage = docker.build("s424714-model:latest")
|
||||||
|
|
||||||
|
withCredentials([string(credentialsId: 'ium-sftp-password', variable: 'IUM_SFTP_PASS')]) {
|
||||||
dockerImage.inside {
|
dockerImage.inside {
|
||||||
|
|
||||||
withCredentials([string(credentialsId: 'ium-sftp-password', variable: 'IUM_SFTP_PASS')]) {
|
|
||||||
sh 'dvc remote modify --local ium_ssh_remote password $IUM_SFTP_PASS'
|
sh 'dvc remote modify --local ium_ssh_remote password $IUM_SFTP_PASS'
|
||||||
sh 'dvc pull'
|
sh 'dvc pull'
|
||||||
sh 'dvc repro'
|
sh 'dvc repro'
|
||||||
|
|
Loading…
Reference in New Issue