diff --git a/Dockerfile b/Dockerfile index 5ffb6eb..a644c20 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,11 +12,13 @@ RUN python3 -m pip install pandas WORKDIR /app -COPY ./Participants_Data_HPP ./ +COPY ./Participants_Data_HPP ./Participants_Data_HPP COPY ./startscript1.sh ./ COPY ./src/task1python.py ./src/task1python.py COPY ./src/pythonTest.py ./src/pythonTest.py RUN chmod +x ./startscript1.sh RUN chmod +x ./src/task1python.py -RUN chmod +x ./src/pythonTest.py \ No newline at end of file +RUN chmod +x ./src/pythonTest.py + +CMD python3 ./src/task1python.py \ No newline at end of file diff --git a/Jenkinsfile b/Jenkinsfile index 879dc1f..406efe3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -26,7 +26,7 @@ pipeline { stage("Shell Scripts") { steps { // sh "KAGGLE_USERNAME=${params.KAGGLE_USERNAME} KAGGLE_KEY=${params.KAGGLE_KEY} CUTOFF=${CUTOFF} ./startscript1.sh" - sh 'python3 ./src/task1python.py' + // sh 'python3 ./src/task1python.py' archiveArtifacts 'data.txt' } }