From 3a6b4b66cbbd119776883d4187081ba573679ccf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Ga=C5=82ka?= Date: Thu, 11 May 2023 00:32:23 +0200 Subject: [PATCH] Update 'Multibranch-Evaluation' --- Multibranch-Evaluation | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Multibranch-Evaluation b/Multibranch-Evaluation index 0abe23a..1ab9cd3 100644 --- a/Multibranch-Evaluation +++ b/Multibranch-Evaluation @@ -19,7 +19,31 @@ pipeline { sh 'git clone https://git.wmi.amu.edu.pl/s434686/ium_z434686' } } - + stage('copy_artifacts') { + steps { + copyArtifacts(projectName: 'z-s434686-training/master', fingerprintArtifacts: true) + } + } + stage('copy_artifacts_from_inside') { + steps { + copyArtifacts(projectName: 'z-s434686-evaluation/master', fingerprintArtifacts: true, optional: true) + } + } + stage('Docker') { + agent { + dockerfile { + filename 'Dockerfile' + dir 'ium_z434686' + reuseNode true + } + } + steps { + sh 'ls -a' + sh 'python ./ium_z434686/predict.py' + archiveArtifacts 'prediction.csv' + archiveArtifacts 'metrics.csv' + } + } stage('clear_after') {