This commit is contained in:
Jakub Zaręba 2023-05-10 16:54:08 +02:00
parent 5cf527a9a6
commit db598936a9

View File

@ -3,10 +3,7 @@ pipeline {
docker { docker {
image 'python:3.11' image 'python:3.11'
args '-v /root/.cache:/root/.cache' args '-v /root/.cache:/root/.cache'
script { command 'sh', '-c', 'pip install pandas tensorflow && tail -f /dev/null'
// sh 'python3 train.py ${params.EPOCHS}'
sh 'pip install pandas && tail -f /dev/null'
}
} }
} }
parameters { parameters {
@ -23,8 +20,7 @@ pipeline {
stage('Trenuj model') { stage('Trenuj model') {
steps { steps {
script { script {
// sh 'python3 train.py ${params.EPOCHS}' sh 'python3 train.py --epochs ${params.EPOCHS}'
sh 'python3 train.py'
} }
} }
} }
@ -34,4 +30,4 @@ pipeline {
} }
} }
} }
} }