From a94fe78cf2e23fa20a480f567c0db7df89bcaeb4 Mon Sep 17 00:00:00 2001 From: AWieczarek Date: Mon, 6 May 2024 20:30:51 +0200 Subject: [PATCH] IUM_06 --- Jenkinsfile | 10 +++++----- Test.txt | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 Test.txt diff --git a/Jenkinsfile b/Jenkinsfile index 2195049..cbbdd60 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -28,11 +28,11 @@ pipeline { copyArtifacts filter: 'beer_review_sentiment_model.h5', projectName: 's464979-training/' + params.BRANCH, selector: buildParameter('BUILD_SELECTOR') } } -// stage('Copy Evaluation Artifacts') { -// steps { -// copyArtifacts filter: '*', projectName: 's464979-evaluation/evaluation', selector: buildParameter('BUILD_SELECTOR'), optional: true -// } -// } + stage('Copy Evaluation Artifacts') { + steps { + copyArtifacts filter: 'beer_metrics.txt', projectName: 's464979-evaluation/evaluation', selector: buildParameter('BUILD_SELECTOR'), optional: true + } + } stage("Run predictions") { steps { sh "chmod +x ./IUM_05-predict.py" diff --git a/Test.txt b/Test.txt deleted file mode 100644 index 9118d6c..0000000 --- a/Test.txt +++ /dev/null @@ -1 +0,0 @@ -asdasd \ No newline at end of file