fix bracket
This commit is contained in:
parent
32fedbee37
commit
e9d0cd3603
@ -7,19 +7,19 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('checkout: Check out from version control'){
|
stage('checkout: Check out from version control'){
|
||||||
steps{
|
steps{
|
||||||
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '87e24204-a0e1-4840-b235-2b993c922d83', url: 'https://git.wmi.amu.edu.pl/s434804/ium_434804.git']]])
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '87e24204-a0e1-4840-b235-2b993c922d83', url: 'https://git.wmi.amu.edu.pl/s434804/ium_434804.git']]])
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('install dependencies') {
|
||||||
|
steps {
|
||||||
|
sh 'python -m pip install dvc'
|
||||||
|
sh 'python -m pip install dvc[ssh] paramiko'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('install dependencies') {
|
stage('DVC') {
|
||||||
steps {
|
|
||||||
sh 'python -m pip install dvc'
|
|
||||||
sh 'python -m pip install dvc[ssh] paramiko'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage('DVC') {
|
|
||||||
steps {
|
steps {
|
||||||
withCredentials([string(credentialsId: 'ium-sftp-password', variable: 'IUM_SFTP_PASS')]) {
|
withCredentials([string(credentialsId: 'ium-sftp-password', variable: 'IUM_SFTP_PASS')]) {
|
||||||
sh "dvc init -f"
|
sh "dvc init -f"
|
||||||
@ -27,6 +27,7 @@ pipeline {
|
|||||||
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 reproduce"
|
sh "dvc reproduce"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
|
Loading…
Reference in New Issue
Block a user