This commit is contained in:
AWieczarek 2024-04-02 23:18:43 +02:00
parent 08879d87d4
commit 3138538331
2 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,8 @@ RUN apt update && \
RUN pip install kaggle pandas seaborn scikit-learn RUN pip install kaggle pandas seaborn scikit-learn
RUN mkdir -p ~/.kaggle
WORKDIR /app WORKDIR /app
COPY dataset_stats.py /app/ COPY dataset_stats.py /app/

1
Jenkinsfile vendored
View File

@ -20,7 +20,6 @@ pipeline {
"KAGGLE_USERNAME=${env.KAGGLE_USERNAME}", "KAGGLE_USERNAME=${env.KAGGLE_USERNAME}",
"KAGGLE_KEY=${env.KAGGLE_KEY}" "KAGGLE_KEY=${env.KAGGLE_KEY}"
]) { ]) {
sh 'mkdir -p ../.kaggle' // Create .kaggle directory if needed
sh 'echo \'{"username": "${KAGGLE_USERNAME}", "key": "${KAGGLE_KEY}"}\' > ~/.kaggle/kaggle.json' sh 'echo \'{"username": "${KAGGLE_USERNAME}", "key": "${KAGGLE_KEY}"}\' > ~/.kaggle/kaggle.json'
sh "python3 IUM_02.py" sh "python3 IUM_02.py"
} }