diff --git a/Jenkinsfile b/Jenkinsfile index d3ea79b..51f2165 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -12,5 +12,12 @@ pipeline { copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './s416122-mlworkshops' } } + stage('sh: Shell Script') { + steps { + sh('chmod +x ./shell_script.sh') + sh('./shell_script.sh wikiniews_results.tsv > result.txt') + } + } + } } diff --git a/shell_script.sh b/shell_script.sh index 9a3f683..951ba43 100644 --- a/shell_script.sh +++ b/shell_script.sh @@ -1,3 +1,3 @@ #!/bin/bash -wc -l > result.log \ No newline at end of file +wc -l $1 \ No newline at end of file