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