Update Jenkinsfile
This commit is contained in:
parent
1515ae2f8c
commit
26885861e1
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -3,7 +3,7 @@ pipeline {
|
|||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Preparation') {
|
stage('Preparation') {
|
||||||
properties([
|
steps {
|
||||||
parameters([
|
parameters([
|
||||||
string(
|
string(
|
||||||
defaultValue: 'jakubbg',
|
defaultValue: 'jakubbg',
|
||||||
@ -17,9 +17,10 @@ pipeline {
|
|||||||
name: 'KAGGLE_KEY'
|
name: 'KAGGLE_KEY'
|
||||||
)
|
)
|
||||||
])
|
])
|
||||||
])
|
}
|
||||||
}
|
}
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
|
steps {
|
||||||
// Run the maven build
|
// Run the maven build
|
||||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||||
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||||
@ -27,6 +28,7 @@ pipeline {
|
|||||||
sh 'kaggle datasets list'
|
sh 'kaggle datasets list'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
stage('Checkout') {
|
stage('Checkout') {
|
||||||
steps {
|
steps {
|
||||||
// Krok: Sklonowanie repozytorium git
|
// Krok: Sklonowanie repozytorium git
|
||||||
|
Loading…
Reference in New Issue
Block a user