Zaktualizuj 'Jenkinsfile'

This commit is contained in:
Witold Woch 2023-03-28 23:43:39 +02:00
parent 38667eaf72
commit b688726a0a

5
Jenkinsfile vendored
View File

@ -29,10 +29,9 @@ stage('Build') {
// Run the maven build
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
sh 'kaggle datasets download -d sadiqshah/bike-sales-in-europe'
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
sh 'chmod u+x ./Downloads_Sales.sh'
sh './Downloads_Sales.sh'
sh 'chmod u+x ./create_dataset.sh'
sh './create_dataset.sh'
archiveArtifacts artifacts: 'Sales.csv'
}
}