Update Jenkinsfile

This commit is contained in:
s464903 2024-03-20 12:58:03 +01:00
parent 03f5fa6749
commit e765d801e5

15
Jenkinsfile vendored
View File

@ -1,11 +1,9 @@
pipeline { pipeline {
agent any agent any
stages { options {
stage('Preparation') { properties([
steps { parameters([
script {
parameters([
string( string(
defaultValue: 'jakubbg', defaultValue: 'jakubbg',
description: 'Kaggle username', description: 'Kaggle username',
@ -18,9 +16,10 @@ pipeline {
name: 'KAGGLE_KEY' name: 'KAGGLE_KEY'
) )
]) ])
} ])
} }
}
stages {
stage('Build') { stage('Build') {
steps { steps {
// Run the maven build // Run the maven build