This commit is contained in:
s444417 2022-03-24 18:31:49 +01:00
parent e08b7cd8c2
commit f24991317a

5
Jenkinsfile vendored
View File

@ -2,7 +2,7 @@ pipeline {
agent any agent any
stages { stages {
stage('Preparation') { stage('Preparation') {
properties([ steps {
parameters([ parameters([
string( string(
defaultValue: 'mikolaj2', defaultValue: 'mikolaj2',
@ -21,13 +21,14 @@ pipeline {
name: 'CUTOFF' name: 'CUTOFF'
) )
]) ])
])
environment { environment {
KAGGLE_USERNAME="$params.KAGGLE_USERNAME" KAGGLE_USERNAME="$params.KAGGLE_USERNAME"
KAGGLE_KEY="$params.KAGGLE_KEY" KAGGLE_KEY="$params.KAGGLE_KEY"
CUTOFF="$params.CUTOFF" CUTOFF="$params.CUTOFF"
} }
} }
}
stage("Check out from version control") { stage("Check out from version control") {
steps { steps {
checkout scm checkout scm