Update Jenkinsfile
This commit is contained in:
parent
1515ae2f8c
commit
26885861e1
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user