t
This commit is contained in:
parent
23a869b2b8
commit
0036eeda7e
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@ -1,6 +1,14 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
|
|
||||||
|
parameters {
|
||||||
|
string(
|
||||||
|
defaultValue: '100',
|
||||||
|
description: 'The number of examples to keep in the dataset',
|
||||||
|
name: 'CUTOFF'
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Preparation') {
|
stage('Preparation') {
|
||||||
when { expression { true } }
|
when { expression { true } }
|
||||||
@ -45,6 +53,10 @@ pipeline {
|
|||||||
unzip -o olympics-124-years-datasettill-2020.zip
|
unzip -o olympics-124-years-datasettill-2020.zip
|
||||||
|
|
||||||
echo "Processed Data" > output.txt
|
echo "Processed Data" > output.txt
|
||||||
|
|
||||||
|
head -n ${params.CUTOFF} athlete_events.csv > athlete_events_cutoff.csv
|
||||||
|
|
||||||
|
mv athlete_events_cutoff.csv athlete_events.csv
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
Loading…
Reference in New Issue
Block a user