t
This commit is contained in:
parent
b282999b35
commit
aa49a91652
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
@ -1,5 +1,4 @@
|
|||||||
node {
|
node {
|
||||||
|
|
||||||
stage('Start') {
|
stage('Start') {
|
||||||
echo "Program Started"
|
echo "Program Started"
|
||||||
}
|
}
|
||||||
@ -8,6 +7,19 @@ 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') {
|
||||||
|
sh '''
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
wget https://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.data
|
||||||
|
|
||||||
|
shuf iris.data | head -n 10 > processed_data.txt
|
||||||
|
|
||||||
|
echo "Processed Data" > output.txt
|
||||||
|
cat processed_data.txt >> output.txt
|
||||||
|
'''
|
||||||
|
}
|
||||||
|
|
||||||
stage('End') {
|
stage('End') {
|
||||||
echo 'Program ended!'
|
echo 'Program ended!'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user