ium_430705/Jenkinsfile_DVC
2021-06-12 18:05:30 +02:00

25 lines
917 B
Plaintext

pipeline{
agent {
docker {
image 'shroomy/ium:8'
args '-v /tmp/mlruns:/tmp/mlruns -v /mlruns:/mlruns '
}
}
stages{
stage('checkout: Check out from version control'){
steps{
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '3e2b5ea1-7a08-4418-892b-c562315036a4', url: 'https://git.wmi.amu.edu.pl/s430705/ium_430705']]])
}
}
stage("DVC"){
steps{
sh "dvc init -f"
sh "dvc remote add -d ium_ssh_remote ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl/ium-sftp"
sh "dvc remote modify --local ium_ssh_remote password IUM@2021"
sh "dvc pull"
sh "dvc reproduce"
}
}
}
}