From 14cd86bec60ef0c751410fd5f18899554233a46e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20=C5=81=C4=85czkowski?= Date: Fri, 19 Apr 2024 10:42:00 +0200 Subject: [PATCH] IUM_06 - fix main Jenkinsfile, models/Jenkinsfile --- Jenkinsfile | 2 +- models/Jenkinsfile | 19 ------------------- 2 files changed, 1 insertion(+), 20 deletions(-) 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