diff --git a/Dockerfile b/Dockerfile index 58a8730..800b462 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ ARG KAGGLE_KEY ENV KAGGLE_USERNAME=${KAGGLE_USERNAME} ENV KAGGLE_KEY=${KAGGLE_KEY} -RUN chmod u+x ./download_dataset.sh +RUN chmod a+x *.sh RUN ./download_dataset.sh CMD python power_plant_data_stats.py diff --git a/Jenkinsfile-stats-docker b/Jenkinsfile-stats-docker index 8636554..a65d94a 100644 --- a/Jenkinsfile-stats-docker +++ b/Jenkinsfile-stats-docker @@ -7,7 +7,6 @@ pipeline { stages { stage('Show stats') { steps { - sh "chmod u+x /app/stats.sh" sh "/app/stats.sh" } }