diff --git a/Jenkinsfile b/Jenkinsfile index 4c92645..c59e46d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -27,7 +27,7 @@ pipeline { steps { sh "chmod u+x ./startscript1.sh" sh "KAGGLE_USERNAME=${KAGGLE_USERNAME} KAGGLE_KEY=${env.KAGGLE_KEY} CUTOFF=${CUTOFF} ./startscript1.sh" - archiveArtifacts 'data.txt' + archiveArtifacts artifacts: 'data.txt' } } } diff --git a/src/Jenkinsfile b/src/Jenkinsfile new file mode 100644 index 0000000..ffd6cc0 --- /dev/null +++ b/src/Jenkinsfile @@ -0,0 +1,10 @@ +pipeline { + agent any + stages { + stage('Stage 1') { + steps { + echo 'Hello world!' + } + } + } +} \ No newline at end of file diff --git a/startscript1.sh b/startscript1.sh index e7dbb8f..84a8a57 100644 --- a/startscript1.sh +++ b/startscript1.sh @@ -1,4 +1,4 @@ #!/bin/sh kaggle datasets download -d akash14/house-price-dataset unzip -o house-price-dataset.zip -head -n $CUTOFF ./Participants_Data_HPP/Train.csv >> data.txt \ No newline at end of file +head -n $1 ./Participants_Data_HPP/Train.csv >> data.txt \ No newline at end of file