Compare commits

..

2 Commits

Author SHA1 Message Date
Jakub Zaręba
76d8430766 s 2023-05-11 00:01:38 +02:00
Jakub Zaręba
8fdb86cedf s 2023-05-11 00:00:27 +02:00

View File

@ -1,5 +1,10 @@
pipeline { pipeline {
agent any agent {
docker {
image 'my-python-mlflow'
args '-v /root/.cache:/root/.cache -u root'
}
}
environment { environment {
PATH = "/path/to/your/python/bin:${env.PATH}" PATH = "/path/to/your/python/bin:${env.PATH}"
SACRED_IGNORE_GIT = 'TRUE' SACRED_IGNORE_GIT = 'TRUE'
@ -8,9 +13,9 @@ pipeline {
string(name: 'EPOCHS', defaultValue: '10', description: 'Liczba Epok') string(name: 'EPOCHS', defaultValue: '10', description: 'Liczba Epok')
} }
stages { stages {
stage('Przygotowanie') { stage('Przygotuj') {
steps { steps {
sh 'pip install pandas tensorflow scikit-learn imbalanced-learn sacred pymongo mlflow' sh 'python -m pip install pandas tensorflow scikit-learn imbalanced-learn sacred pymongo mlflow'
} }
} }
stage('Pobierz dane') { stage('Pobierz dane') {