Update Jenkinsfile

This commit is contained in:
s464903 2024-03-20 12:46:12 +01:00
parent 1515ae2f8c
commit 26885861e1

6
Jenkinsfile vendored
View File

@ -3,7 +3,7 @@ pipeline {
stages {
stage('Preparation') {
properties([
steps {
parameters([
string(
defaultValue: 'jakubbg',
@ -17,9 +17,10 @@ pipeline {
name: 'KAGGLE_KEY'
)
])
])
}
}
stage('Build') {
steps {
// Run the maven build
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
@ -27,6 +28,7 @@ pipeline {
sh 'kaggle datasets list'
}
}
}
stage('Checkout') {
steps {
// Krok: Sklonowanie repozytorium git