This commit is contained in:
Jakub Zaręba 2023-05-10 16:57:40 +02:00
parent db598936a9
commit eb05fab804

View File

@ -2,14 +2,18 @@ pipeline {
agent { agent {
docker { docker {
image 'python:3.11' image 'python:3.11'
args '-v /root/.cache:/root/.cache' args '-v /root/.cache:/root/.cache -u root'
command 'sh', '-c', 'pip install pandas tensorflow && tail -f /dev/null'
} }
} }
parameters { parameters {
string(name: 'EPOCHS', defaultValue: '10', description: 'Liczba Epok') string(name: 'EPOCHS', defaultValue: '10', description: 'Liczba Epok')
} }
stages { stages {
stage('Preparation') {
steps {
sh 'pip install pandas tensorflow'
}
}
stage('Pobierz dane') { stage('Pobierz dane') {
steps { steps {
script { script {