32 lines
811 B
Plaintext
32 lines
811 B
Plaintext
pipeline {
|
|
parameters {
|
|
string(
|
|
defaultValue: 'heatedboss2',
|
|
description: 'Kaggle username',
|
|
name: 'KAGGLE_USERNAME',
|
|
trim: false
|
|
)
|
|
password(
|
|
defaultValue: '',
|
|
description: 'Kaggle token',
|
|
name: 'KAGGLE_KEY'
|
|
)
|
|
}
|
|
agent {
|
|
dockerfile{
|
|
additionalBuildArgs '--build-arg KAGGLE_USERNAME="$KAGGLE_USERNAME" --build-arg KAGGLE_KEY="$KAGGLE_KEY" -t s444507_create_dataset_image'
|
|
}
|
|
}
|
|
stages {
|
|
stage('Prepare dataset') {
|
|
steps {
|
|
sh './stats-docker.sh'
|
|
}
|
|
}
|
|
}
|
|
post {
|
|
success {
|
|
archiveArtifacts artifacts: 'Car_Prices_Poland_Kaggle*', followSymlinks: false
|
|
}
|
|
}
|
|
} |