From d6616430f2a7a51eef171eaa45fe630ac14b8bbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Szuka=C5=82a?= Date: Fri, 26 Apr 2019 11:03:43 +0200 Subject: [PATCH] end task --- Jenkinsfile | 3 +++ counter.sh | 1 + 2 files changed, 4 insertions(+) create mode 100644 counter.sh diff --git a/Jenkinsfile b/Jenkinsfile index 780d22b..ff8aaeb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,4 +5,7 @@ checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s421813/s421813-mlworkshops.git']]]) + sh label: '', script: 'chmod 777 counter.sh' + sh label: '', script: './counter.sh' + archiveArtifacts 'txt.txt' } diff --git a/counter.sh b/counter.sh new file mode 100644 index 0000000..14a7850 --- /dev/null +++ b/counter.sh @@ -0,0 +1 @@ +wc -l wikiniews_results.tsv >> txt.txt