diff --git a/Jenkinsfile b/Jenkinsfile index dcb3ecf..e6d4561 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 } } } diff --git a/models/Jenkinsfile b/models/Jenkinsfile index ccd1868..3767c1a 100644 --- a/models/Jenkinsfile +++ b/models/Jenkinsfile @@ -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 - } - } } } \ No newline at end of file