diff --git a/Jenkinsfile b/Jenkinsfile index 2117a13..f19cab5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,7 +14,7 @@ pipeline { stage('Run') { steps{ sh 'git checkout' - sh 'sh test.sh text.txt' + sh 'sh test.sh text.txt out.txt' } } } diff --git a/test.sh b/test.sh index c77bef7..f7f88f7 100755 --- a/test.sh +++ b/test.sh @@ -1,3 +1,3 @@ #!/usr/bin/env bash -wc -l $1 \ No newline at end of file +wc -l $1 > $2 \ No newline at end of file