2022-03-31 23:28:10 +02:00
|
|
|
pipeline {
|
2022-04-01 23:36:30 +02:00
|
|
|
parameters {
|
|
|
|
string(
|
|
|
|
defaultValue: 'heatedboss2',
|
|
|
|
description: 'Kaggle username',
|
|
|
|
name: 'KAGGLE_USERNAME',
|
|
|
|
trim: false
|
|
|
|
)
|
|
|
|
password(
|
|
|
|
defaultValue: '',
|
|
|
|
description: 'Kaggle token',
|
|
|
|
name: 'KAGGLE_KEY'
|
|
|
|
)
|
|
|
|
}
|
|
|
|
agent {
|
|
|
|
dockerfile{
|
2022-05-06 01:24:01 +02:00
|
|
|
additionalBuildArgs '--build-arg KAGGLE_USERNAME="$KAGGLE_USERNAME" --build-arg KAGGLE_KEY="$KAGGLE_KEY" -t s444507_create_dataset_image'
|
2022-04-01 23:36:30 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stages {
|
2022-04-01 23:47:17 +02:00
|
|
|
stage('Prepare dataset') {
|
2022-04-01 23:36:30 +02:00
|
|
|
steps {
|
2022-04-02 22:21:12 +02:00
|
|
|
sh './stats-docker.sh'
|
2022-04-01 23:36:30 +02:00
|
|
|
}
|
2022-03-31 23:28:10 +02:00
|
|
|
}
|
|
|
|
}
|
2022-04-02 18:07:21 +02:00
|
|
|
post {
|
|
|
|
success {
|
2022-04-02 22:46:48 +02:00
|
|
|
archiveArtifacts artifacts: 'Car_Prices_Poland_Kaggle*', followSymlinks: false
|
2022-04-02 18:07:21 +02:00
|
|
|
}
|
|
|
|
}
|
2022-03-31 23:28:10 +02:00
|
|
|
}
|