Update 'Jenkinsfile_create_dataset'

This commit is contained in:
Patryk Gałka 2023-04-19 15:45:11 +02:00
parent 28a3111743
commit 3efdc27d00

View File

@ -15,7 +15,7 @@ pipeline {
name: 'KAGGLE_KEY' name: 'KAGGLE_KEY'
) )
string( string(
defaultValue: '0', defaultValue: '500',
description: 'CUTOFF', description: 'CUTOFF',
name: 'CUTOFF', name: 'CUTOFF',
trim: false trim: false
@ -44,7 +44,7 @@ pipeline {
sh 'kaggle datasets download -d rush4ratio/video-game-sales-with-ratings' sh 'kaggle datasets download -d rush4ratio/video-game-sales-with-ratings'
sh 'unzip video-game-sales-with-ratings.zip' sh 'unzip video-game-sales-with-ratings.zip'
sh 'rm video-game-sales-with-ratings.zip' sh 'rm video-game-sales-with-ratings.zip'
sh 'ls -a | tee dataset.csv' sh 'move Video_Games_Sales_as_at_22_Dec_2016.csv ./ium_z434686'
} }
} }
} }
@ -52,7 +52,6 @@ pipeline {
agent { agent {
dockerfile { dockerfile {
filename 'create.dockerfile' filename 'create.dockerfile'
args '-v $HOME:/script'
} }
} }
steps { steps {
@ -61,16 +60,6 @@ pipeline {
archiveArtifacts 'X_train.csv' archiveArtifacts 'X_train.csv'
archiveArtifacts 'X_dev.csv' archiveArtifacts 'X_dev.csv'
archiveArtifacts 'X_tes.csv' archiveArtifacts 'X_tes.csv'
}
}
stage('Goodbye!') {
steps {
echo 'Goodbye!'
//Zarchiwizuj wynik
//archiveArtifacts 'output.txt'
archiveArtifacts 'dataset.csv'
} }
} }
} }