Compare commits
3 Commits
baca0dd7e9
...
3126a97492
Author | SHA1 | Date | |
---|---|---|---|
|
3126a97492 | ||
|
325a4c6951 | ||
|
d4ff43f714 |
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
@ -8,9 +8,21 @@ node {
|
|||||||
git 'https://git.wmi.amu.edu.pl/s487187/ium_487187.git'
|
git 'https://git.wmi.amu.edu.pl/s487187/ium_487187.git'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stage('Process Data') {
|
||||||
|
steps {
|
||||||
|
sh '''
|
||||||
|
#!/bin/bash
|
||||||
|
wget https://www.kaggle.com/datasets/download/5a67c0b2f8e364f5e0aafa810c7e145e9b9ce934f3d13fc54c747b9822cf6f7f -O olympics.csv.zip
|
||||||
|
unzip olympics.csv.zip
|
||||||
|
head -n 1000 olympics.csv > olympics_subset.csv
|
||||||
|
cp olympics_subset.csv $JENKINS_HOME/jobs/${JOB_NAME}/builds/${BUILD_NUMBER}/archive/olympics_subset.csv
|
||||||
|
'''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('End') {
|
stage('End') {
|
||||||
echo 'Program ended!'
|
echo 'Program ended!'
|
||||||
|
|
||||||
archiveArtifacts 'output.txt'
|
archiveArtifacts 'olympics_subset.csv'
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user