IUM_04
This commit is contained in:
parent
08879d87d4
commit
3138538331
@ -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
1
Jenkinsfile
vendored
@ -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"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user