ium_444507/Jenkinsfile-docker
Adam Wojdyla 316471eda9 r1
2022-04-02 20:28:16 +02:00

38 lines
933 B
Plaintext

pipeline {
parameters {
string(
defaultValue: 'heatedboss2',
description: 'Kaggle username',
name: 'KAGGLE_USERNAME',
trim: false
)
password(
defaultValue: '',
description: 'Kaggle token',
name: 'KAGGLE_KEY'
)
string(
defaultValue: '117928',
description: 'Cutoff',
name: 'CUTOFF',
trim: false
)
}
agent {
dockerfile{
additionalBuildArgs '--build-arg KAGGLE_USERNAME="$KAGGLE_USERNAME" --build-arg KAGGLE_KEY="$KAGGLE_KEY" --no-cache=true'
}
}
stages {
stage('Prepare dataset') {
steps {
sh 'python3 ./script.py'
}
}
}
post {
success {
archiveArtifacts artifacts: 'Car_Prices_Poland_Kaggle_*', followSymlinks: false
}
}
}