rename Jenkinsfile, zadanie6

This commit is contained in:
jakubknczny 2021-03-28 17:53:20 +02:00
parent 46b56b023f
commit c49058c826

View File

@ -1,6 +1,6 @@
pipeline { pipeline {
agent any agent any
// options([parameters([string(defaultValue: '20000', description: '', name: 'CUTOFF', trim: false)])]) properties([parameters([string(defaultValue: '20000', description: 'numbers of data entries to keep in train.csv', name: 'CUTOFF', trim: true)])])
stages { stages {
stage('sh: Shell Script') { stage('sh: Shell Script') {
steps { steps {
@ -8,7 +8,7 @@ pipeline {
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) { "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
sh 'chmod +x script-zadanie-2-4.sh' sh 'chmod +x script-zadanie-2-4.sh'
sh './script-zadanie-2-4.sh' sh './script-zadanie-2-4.sh'
// sh 'head -n ${CUTOFF} train.csv >> train.csv' sh 'head -n ${CUTOFF} train.csv > train.csv'
} }
} }
} }