first commit

This commit is contained in:
Cezary 2020-04-20 23:20:52 +02:00
commit af1fcfb1a7
3 changed files with 30 additions and 0 deletions

26
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,26 @@
pipeline {
agent { dockerfile true }
stages {
stage('checkoutGit') {
steps {
git 'https://git.wmi.amu.edu.pl/s432211/s432211-mlworkshops'
}
}
stage('copyArtifacts') {
steps {
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './'
}
}
stage('countLines') {
steps {
sh 'chmod 777 ./count_lines.sh'
sh './count_lines.sh'
}
}
stage('archiveArtifacts') {
steps {
archiveArtifacts 'count_lines_result.txt'
}
}
}
}

1
README.md Normal file
View File

@ -0,0 +1 @@
s432211 - MLWorkshops

3
count_lines.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
wc -l wikiniews_results.tsv > counted_lines.txt