2022-03-21 10:44:11 +01:00
|
|
|
node {
|
|
|
|
stage('Preparation') {
|
|
|
|
properties([
|
|
|
|
parameters([
|
|
|
|
string(
|
2022-03-21 11:03:22 +01:00
|
|
|
defaultValue: 'szymonparafinski',
|
2022-03-21 10:44:11 +01:00
|
|
|
description: 'Kaggle username',
|
|
|
|
name: 'KAGGLE_USERNAME',
|
|
|
|
trim: false
|
|
|
|
)
|
|
|
|
])
|
|
|
|
])
|
|
|
|
}
|
|
|
|
stage('Build') {
|
|
|
|
// Run the maven build
|
2022-03-21 11:05:19 +01:00
|
|
|
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}"]) {
|
2022-03-21 10:44:11 +01:00
|
|
|
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|