revert jenkinsfile

This commit is contained in:
Sheaza 2024-05-28 21:51:15 +02:00
parent 4ade71964d
commit ee86949bef

View File

@ -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
}