Add cutoff
This commit is contained in:
parent
ba4ca3e909
commit
3a9282542e
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -13,6 +13,11 @@ pipeline {
|
|||||||
description: 'Kaggle token taken from kaggle.json file, as described in https://github.com/Kaggle/kaggle-api#api-credentials',
|
description: 'Kaggle token taken from kaggle.json file, as described in https://github.com/Kaggle/kaggle-api#api-credentials',
|
||||||
name: 'KAGGLE_KEY'
|
name: 'KAGGLE_KEY'
|
||||||
)
|
)
|
||||||
|
string(
|
||||||
|
defaultValue: '50',
|
||||||
|
description: 'number of truncated examples',
|
||||||
|
name: 'CUTOFF'
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
@ -27,7 +32,7 @@ pipeline {
|
|||||||
stage('Shell') {
|
stage('Shell') {
|
||||||
steps {
|
steps {
|
||||||
sh 'chmod 777 ./data_processing.sh'
|
sh 'chmod 777 ./data_processing.sh'
|
||||||
sh './data_processing.sh'
|
sh './data_processing.sh ${params.CUTOFF}'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Artifacts') {
|
stage('Artifacts') {
|
||||||
|
@ -1 +1 @@
|
|||||||
head -n 10 example_data.txt > processed_data.txt
|
head -n $1 example_data.txt > processed_data.txt
|
@ -1 +1,13 @@
|
|||||||
test6
|
test1
|
||||||
|
test15
|
||||||
|
test134
|
||||||
|
test1453
|
||||||
|
test134543
|
||||||
|
test134
|
||||||
|
test1rth
|
||||||
|
test1test1test1tre
|
||||||
|
test1rthrt
|
||||||
|
test1hrt
|
||||||
|
test1hrtsd
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user