From eb05fab8042f958a0a871f52b3a5e9dc53ec74e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Zar=C4=99ba?= Date: Wed, 10 May 2023 16:57:40 +0200 Subject: [PATCH] s --- JenkinsfileDL | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/JenkinsfileDL b/JenkinsfileDL index 4eab5ab..f4d9af1 100644 --- a/JenkinsfileDL +++ b/JenkinsfileDL @@ -2,14 +2,18 @@ pipeline { agent { docker { image 'python:3.11' - args '-v /root/.cache:/root/.cache' - command 'sh', '-c', 'pip install pandas tensorflow && tail -f /dev/null' + args '-v /root/.cache:/root/.cache -u root' } } parameters { string(name: 'EPOCHS', defaultValue: '10', description: 'Liczba Epok') } stages { + stage('Preparation') { + steps { + sh 'pip install pandas tensorflow' + } + } stage('Pobierz dane') { steps { script {