diff --git a/Jenkinsfile b/Jenkinsfile index 5af2b55..ac8a47d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -23,6 +23,8 @@ pipeline { stage('Shell script'){ steps{ sh 'chmod +x ./script.sh' + sh label: 'ls', script: 'ls' + sh label: 'cat', script: 'cat res.txt' } } diff --git a/script.sh b/script.sh index c04911f..fd2fe22 100644 --- a/script.sh +++ b/script.sh @@ -1,3 +1 @@ -echo wc -l wikiniews_results.tsv >> res.txt -ls -cat res.txt \ No newline at end of file +echo wc -l wikiniews_results.tsv >> res.txt \ No newline at end of file