diff --git a/Jenkinsfile b/Jenkinsfile index e7d04ab..3423d6a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,10 @@ pipeline { stages { stage('Stage 1') { steps { - echo 'Hello world!' + checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s407599/s407599-mlworkshops']]]) + copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval/' + sh label: '', script: 'script.sh wikiniews_results.tsv' + archiveArtifacts 'results.txt' } } } diff --git a/script.sh b/script.sh new file mode 100755 index 0000000..190bfa7 --- /dev/null +++ b/script.sh @@ -0,0 +1,3 @@ +#/bin/bash + +wc -l $1 > results.txt \ No newline at end of file