diff --git a/training/Jenkinsfile b/training/Jenkinsfile index eed4bba..db92f16 100644 --- a/training/Jenkinsfile +++ b/training/Jenkinsfile @@ -32,10 +32,7 @@ pipeline { } steps { - withCredentials([sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY')]) { - sh 'dvc remote modify --local ium_ssh_remote keyfile $IUM_SFTP_KEY' - sh "dvc pull" - } + sh "chmod +x ./train.py" sh "python ./train.py --epochs ${params.EPOCHS}" archiveArtifacts artifacts: 'model.keras', onlyIfSuccessful: true }