From b4256f2e93fd0943bc2a3d10b888cbb09b2f2869 Mon Sep 17 00:00:00 2001 From: email Date: Fri, 26 Apr 2019 11:43:37 +0200 Subject: [PATCH] script file uptaded --- Jenkinsfile | 2 +- script.sh | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6cc86d8..b71de77 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,6 +2,6 @@ node { copyArtifacts filter: '*', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful() sh 'ls -l' checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s416422/s416422-mlworkshops.git']]]) - sh label: '', script: 'sh script.sh' + sh 'sh script.sh test_linex.txt lines.txt' archiveArtifacts 'lines.txt' } diff --git a/script.sh b/script.sh index 957c86a..a28a33e 100644 --- a/script.sh +++ b/script.sh @@ -1 +1,3 @@ -wc test_lines.txt > lines.txt +IN = $1 +OUT = $2 +wc -l $1 > $2