This commit is contained in:
Jakub Zaręba 2023-03-27 21:20:46 +02:00
parent 7178de7d3a
commit 8bad280c06

34
Jenkinsfile vendored
View File

@ -1,21 +1,21 @@
node {
stage('Preparation') {
properties([
parameters([
string(
defaultValue: 'mjaykey',
description: 'Kaggle username',
name: 'KAGGLE_USERNAME',
trim: false
),
password(
defaultValue: '057cd03e1ed63922f7df5430d3690899',
description: 'Kaggle token taken from kaggle.json file, as described in https://github.com/Kaggle/kaggle-api#api-credentials',
name: 'KAGGLE_KEY'
)
])
])
}
// stage('Preparation') {
// properties([
// parameters([
// string(
// defaultValue: 'mjaykey',
// description: 'Kaggle username',
// name: 'KAGGLE_USERNAME',
// trim: false
// ),
// password(
// defaultValue: '057cd03e1ed63922f7df5430d3690899',
// description: 'Kaggle token taken from kaggle.json file, as described in https://github.com/Kaggle/kaggle-api#api-credentials',
// name: 'KAGGLE_KEY'
// )
// ])
// ])
// }
stage('Build') {
// Run the maven build
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",