From 921e2835071225d69a6ad3894d89a23f43920507 Mon Sep 17 00:00:00 2001 From: Yevhenii Poliakov Date: Sun, 14 May 2023 13:32:57 +0200 Subject: [PATCH] update j_dh --- Jenkinsfile_dh | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Jenkinsfile_dh b/Jenkinsfile_dh index dc666c1..47ff618 100644 --- a/Jenkinsfile_dh +++ b/Jenkinsfile_dh @@ -22,14 +22,12 @@ pipeline { //sh docker echo("run data script") - sh "apt install python3.10-venv -y" - sh "python3 -m venv docker_ium" - sh "source docker_ium/bin/activate" + sh "docker build . -t konmak/ium:2" + sh "pip3 install kaggle" sh "pip3 install pandas" - sh "pip3 install -U scikit-learn" - sh "pip install tensorflow==2.12.*" - sh "python3 script2" - sh "deactivate" + sh "pip3 install scikit-learn" + + sh "python3 script2.py" } } }