IUM_06 - fix main Jenkinsfile, models/Jenkinsfile
This commit is contained in:
parent
c664c6dcf8
commit
14cd86bec6
|
@ -50,7 +50,7 @@ pipeline {
|
|||
sh "python3 ./download_dataset.py ${params.CUTOFF}"
|
||||
archiveArtifacts artifacts: 'datasets/*', onlyIfSuccessful: true
|
||||
|
||||
build job: 's464863/main', wait: true
|
||||
build job: 's464863-training/main', wait: true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
pipeline {
|
||||
agent any
|
||||
|
||||
parameters {
|
||||
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('Clone repository') {
|
||||
steps {
|
||||
|
@ -39,20 +35,5 @@ pipeline {
|
|||
archiveArtifacts artifacts: 'models/*', onlyIfSuccessful: true
|
||||
}
|
||||
}
|
||||
|
||||
stage('Test model') {
|
||||
agent {
|
||||
dockerfile {
|
||||
filename 'Dockerfile'
|
||||
reuseNode true
|
||||
}
|
||||
}
|
||||
|
||||
steps {
|
||||
sh "chmod +x ./predict.py"
|
||||
sh "python3 ./predict.py"
|
||||
archiveArtifacts artifacts: 'predictions.csv', onlyIfSuccessful: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue