From 12ae9cf6e25fd6c219421796bf79d092eb8948e2 Mon Sep 17 00:00:00 2001 From: laskau Date: Fri, 26 Apr 2019 11:56:29 +0200 Subject: [PATCH] 11 --- Jenkinsfile | 2 +- test.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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