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 {
|
steps {
|
||||||
withCredentials([sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY')]) {
|
sh "chmod +x ./train.py"
|
||||||
sh 'dvc remote modify --local ium_ssh_remote keyfile $IUM_SFTP_KEY'
|
|
||||||
sh "dvc pull"
|
|
||||||
}
|
|
||||||
sh "python ./train.py --epochs ${params.EPOCHS}"
|
sh "python ./train.py --epochs ${params.EPOCHS}"
|
||||||
archiveArtifacts artifacts: 'model.keras', onlyIfSuccessful: true
|
archiveArtifacts artifacts: 'model.keras', onlyIfSuccessful: true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user