diff --git a/Dockerfile b/Dockerfile index 8777dab..d9b6001 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/Jenkinsfile b/Jenkinsfile index 7e20561..6be9304 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -23,6 +23,13 @@ pipeline { checkout scm } } + stage("start docker") { + agent { + docker.image.inside('mikolajk/ium:latest') { + sh './startscript1.sh' + } + } + } stage("Shell Scripts") { steps { // sh "KAGGLE_USERNAME=${params.KAGGLE_USERNAME} KAGGLE_KEY=${params.KAGGLE_KEY} CUTOFF=${CUTOFF} ./startscript1.sh" diff --git a/Jenkinsfile3 b/Jenkinsfile3 index f5bad76..86a57fb 100644 --- a/Jenkinsfile3 +++ b/Jenkinsfile3 @@ -4,6 +4,7 @@ pipeline { stage("start docker") { agent { docker.image.inside('mikolajk/ium:latest') { + 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 b7413bf..2770aed 100644 --- a/startscript1.sh +++ b/startscript1.sh @@ -1,7 +1,7 @@ #!/bin/bash # kaggle datasets download -d akash14/house-price-dataset -pwd -ls -la +#pwd +#ls -la unzip -o house-price-dataset.zip # echo $CUTOFF