revert jenkinsfile
This commit is contained in:
parent
4ade71964d
commit
ee86949bef
5
training/Jenkinsfile
vendored
5
training/Jenkinsfile
vendored
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user