From e12ef61c2b536787b541b4b445a4583909f08004 Mon Sep 17 00:00:00 2001 From: s444417 Date: Mon, 25 Apr 2022 20:35:53 +0200 Subject: [PATCH] move run comand to dockerfile --- Dockerfile | 2 +- Jenkinsfile3 | 1 - startscript1.sh | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index d9b6001..8777dab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,4 +22,4 @@ RUN chmod o+wrx ./startscript1.sh RUN chmod o+wrx ./runPythonScripts.sh -# RUN ./startscript1.sh \ No newline at end of file +RUN ./startscript1.sh \ No newline at end of file diff --git a/Jenkinsfile3 b/Jenkinsfile3 index 8469b1d..723883c 100644 --- a/Jenkinsfile3 +++ b/Jenkinsfile3 @@ -5,7 +5,6 @@ pipeline { stages { stage('Test') { steps { - sh './startscript1.sh' archiveArtifacts './Participants_Data_HPP/Train.csv ./Participants_Data_HPP/Test.csv ./Participants_Data_HPP/Dev.csv' } } diff --git a/startscript1.sh b/startscript1.sh index 2770aed..0fdee98 100644 --- a/startscript1.sh +++ b/startscript1.sh @@ -2,7 +2,7 @@ # kaggle datasets download -d akash14/house-price-dataset #pwd #ls -la -unzip -o house-price-dataset.zip +unzip house-price-dataset.zip # echo $CUTOFF # head -n $CUTOFF ./Participants_Data_HPP/Train.csv > data.txt