test 8 zadania
This commit is contained in:
parent
8481ab6931
commit
5d3dd5c4de
7
zad8/Jenkinsfile
vendored
7
zad8/Jenkinsfile
vendored
@ -12,12 +12,19 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('sh: Shell Script') {
|
||||
steps {
|
||||
sh 'chmod +x zad8.sh'
|
||||
sh './zad8.sh
|
||||
}
|
||||
}
|
||||
stage('test_save') {
|
||||
steps {
|
||||
archiveArtifacts 'test/test.csv'
|
||||
archiveArtifacts 'test/dev.csv'
|
||||
archiveArtifacts 'test/train.csv'
|
||||
archiveArtifacts 'test/zadanie7.csv'
|
||||
archiveArtifacts 'test/final.txt'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
7
zad8/zad8.sh
Normal file
7
zad8/zad8.sh
Normal file
@ -0,0 +1,7 @@
|
||||
wc -l test.csv > file1.txt
|
||||
wc -l dev.csv > file2.txt
|
||||
wc -l train.csv > file3.txt
|
||||
|
||||
cat file1.txt file2.txt > temp.txt
|
||||
cat file3.txt temp.txt > final.txt
|
||||
|
Loading…
Reference in New Issue
Block a user