From c22716725eff4a8fdc60b06206fd666c2bc46b3b Mon Sep 17 00:00:00 2001 From: s444417 Date: Thu, 24 Mar 2022 17:40:59 +0100 Subject: [PATCH] bash script --- Jenkinsfile | 9 +++++++++ startscript.sh | 3 +++ 2 files changed, 12 insertions(+) create mode 100644 startscript.sh diff --git a/Jenkinsfile b/Jenkinsfile index bb9385d..1bb033d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,10 +1,19 @@ pipeline { agent any stages { + stage("Hello") { + steps { + echo "Start.." + } + } stage("Check out from version control") { steps { checkout scm } } + + stage("Shell Script") { + sh "chmod u+x ./startscript.sh" + } } } \ No newline at end of file diff --git a/startscript.sh b/startscript.sh new file mode 100644 index 0000000..83f0f38 --- /dev/null +++ b/startscript.sh @@ -0,0 +1,3 @@ +kaggle datasets download -d akash14/house-price-dataset +unzip -o house-price-dataset.zip +head -n 10 ./Participants_Data_HPP/Train.csv >> data.txt \ No newline at end of file