From 972e98c9e1e48e6428448358d2814911dd49659f Mon Sep 17 00:00:00 2001 From: Adam Wojdyla Date: Sat, 2 Apr 2022 02:56:55 +0200 Subject: [PATCH] run python in jenkins --- Dockerfile | 8 +------- Jenkinsfile-docker | 3 ++- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2419ad2..3b65625 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,11 +16,5 @@ COPY ./script.py ./ ARG KAGGLE_USERNAME=testKAGGLE_USERNAME ARG KAGGLE_KEY=test1KAGGLE_KEY -RUN echo $KAGGLE_USERNAME -RUN echo $KAGGLE_KEY - - -RUN env - # RUN ./download.sh 117928 -RUN python3 ./script.py \ No newline at end of file +# RUN python3 ./script.py \ No newline at end of file diff --git a/Jenkinsfile-docker b/Jenkinsfile-docker index cbe9da1..5b3e47d 100644 --- a/Jenkinsfile-docker +++ b/Jenkinsfile-docker @@ -26,7 +26,8 @@ pipeline { stages { stage('Prepare dataset') { steps { - sh './download.sh $CUTOFF' + sh 'python3 ./script.py' + sh 'ls' } } }