jenkins test

This commit is contained in:
s444417 2022-04-10 22:06:24 +02:00
parent 9b6e58fe56
commit 74e37559b1
2 changed files with 5 additions and 15 deletions

View File

@ -15,21 +15,11 @@ RUN python3 -m pip install pandas
WORKDIR /app WORKDIR /app
COPY . . COPY . .
# RUN sed 's/\r$//' ./startscript1.sh
# RUN sed 's/\r$//' ./runPythonScripts.sh
# RUN chmod -R 777 ../app
RUN ls -la >> permissions.txt RUN ls -la >> permissions.txt
# COPY ./Participants_Data_HPP ./Participants_Data_HPP
# COPY ./startscript1.sh ./
# COPY ./src/task1python.py ./src/task1python.py
# COPY ./src/pythonTest.py ./src/pythonTest.py
# COPY ./src/trainScript.py ./src/trainScript.py
# COPY ./runPythonScript.sh ./runPythonScript.sh
RUN chmod o+wrx ./startscript1.sh RUN chmod o+wrx ./startscript1.sh
# RUN chmod +x ./src/task1python.py
RUN chmod o+wrx ./runPythonScripts.sh RUN chmod o+wrx ./runPythonScripts.sh
# FROM tensorflow/tensorflow:latest
# RUN ./startscript1.sh # RUN ./startscript1.sh

View File

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
# kaggle datasets download -d akash14/house-price-dataset # kaggle datasets download -d akash14/house-price-dataset
unzip -o house-price-dataset.zip unzip -o house-price-dataset.zip
echo $CUTOFF # echo $CUTOFF
head -n $CUTOFF ./Participants_Data_HPP/Train.csv > data.txt # head -n $CUTOFF ./Participants_Data_HPP/Train.csv > data.txt
head -n $CUTOFF ./Participants_Data_HPP/Test.csv > dataTest.txt # head -n $CUTOFF ./Participants_Data_HPP/Test.csv > dataTest.txt
./runPythonScripts.sh ./runPythonScripts.sh