ium_444018/Jenkinsfile
Szymon Parafiński 0a3d46787f test
2022-03-21 11:05:19 +01:00

21 lines
528 B
Groovy

node {
stage('Preparation') {
properties([
parameters([
string(
defaultValue: 'szymonparafinski',
description: 'Kaggle username',
name: 'KAGGLE_USERNAME',
trim: false
)
])
])
}
stage('Build') {
// Run the maven build
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}"]) {
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
}
}
}