add zadanie7

This commit is contained in:
jakubknczny 2021-03-28 14:06:52 +02:00
parent 9157411376
commit e0157e87fc

7
Jenkinsfile vendored
View File

@ -1,5 +1,11 @@
pipeline { pipeline {
agent any agent any
parameters([
string( defaultValue: '2000',
description: '',
name: 'CUTOFF',
trim: false)
])
stages { stages {
stage('sh: Shell Script') { stage('sh: Shell Script') {
steps { steps {
@ -7,6 +13,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'
} }
archiveArtifacts 'train.csv' archiveArtifacts 'train.csv'
archiveArtifacts 'test.csv' archiveArtifacts 'test.csv'