From e9d0cd36033b93d32d47da09719f6fd516d93789 Mon Sep 17 00:00:00 2001 From: Dawid Date: Sat, 12 Jun 2021 18:18:15 +0200 Subject: [PATCH] fix bracket --- Jenkinsfile_dvc | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/Jenkinsfile_dvc b/Jenkinsfile_dvc index 3d9e6dd..11d7968 100644 --- a/Jenkinsfile_dvc +++ b/Jenkinsfile_dvc @@ -7,19 +7,19 @@ pipeline { } } stages { - stage('checkout: Check out from version control'){ + stage('checkout: Check out from version control'){ 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']]]) + } + } + stage('install dependencies') { + steps { + sh 'python -m pip install dvc' + sh 'python -m pip install dvc[ssh] paramiko' + } } } - stage('install dependencies') { - steps { - sh 'python -m pip install dvc' - sh 'python -m pip install dvc[ssh] paramiko' - } - } - } - stage('DVC') { + stage('DVC') { steps { withCredentials([string(credentialsId: 'ium-sftp-password', variable: 'IUM_SFTP_PASS')]) { sh "dvc init -f" @@ -27,6 +27,7 @@ pipeline { sh "dvc remote modify --local ium_ssh_remote password $IUM_SFTP_PASS" sh "dvc pull" sh "dvc reproduce" + } } } post {