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