zad1 poprawka

This commit is contained in:
s452108 2020-04-03 12:58:30 +02:00
parent 002c895762
commit 282a041488
2 changed files with 3 additions and 2 deletions

2
count.sh Normal file → Executable file
View File

@ -1,2 +1,2 @@
#!/bin/bash #!/bin/bash
wc -l > file.txt wc -l $1 > file.txt

View File

@ -14,7 +14,8 @@ copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, proje
} }
stage('Count words') { stage('Count words') {
steps { steps {
sh label: '', script: 'count.sh' sh label: '', script: 'ls'
sh label: '', script: 'sudo ./count.sh wikiniews_results.tsv'
} }
} }
stage('Archive atifacts') { stage('Archive atifacts') {