add zadanie7
This commit is contained in:
parent
9157411376
commit
e0157e87fc
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user