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