Change CUTOFF parameter definition
This commit is contained in:
parent
24d68a036e
commit
2fcec72298
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -1,9 +1,11 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
|
parameters {
|
||||||
|
string(defaultValue: '5', description: 'Amount of lines to cut off the file.', name: 'CUTOFF', trim: false)
|
||||||
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Clone repo + run bash script') {
|
stage('Clone repo + run bash script') {
|
||||||
steps {
|
steps {
|
||||||
properties([parameters([string(defaultValue: '5', description: 'Amount of lines to cut off the file.', name: 'CUTOFF', trim: false)])])
|
|
||||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||||
"KAGGLE_KEY=${params.KAGGLE_KEY}", "CUTOFF=${params.CUTOFF}" ]) {
|
"KAGGLE_KEY=${params.KAGGLE_KEY}", "CUTOFF=${params.CUTOFF}" ]) {
|
||||||
// Uruchomienie skryptu
|
// Uruchomienie skryptu
|
||||||
|
Loading…
Reference in New Issue
Block a user