fix script

This commit is contained in:
s444417 2022-03-28 10:36:41 +02:00
parent 55e68cc2cc
commit 68debb5427
3 changed files with 12 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -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'
}
}
}

10
src/Jenkinsfile vendored Normal file
View File

@ -0,0 +1,10 @@
pipeline {
agent any
stages {
stage('Stage 1') {
steps {
echo 'Hello world!'
}
}
}
}

View File

@ -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
head -n $1 ./Participants_Data_HPP/Train.csv >> data.txt