29 lines
895 B
Groovy
29 lines
895 B
Groovy
pipeline {
|
|
agent { dockerfile true }
|
|
stages {
|
|
stage('checkout: Check out from version control') {
|
|
steps {
|
|
git 'https://git.wmi.amu.edu.pl/s152483/s152483-mlworkshops'
|
|
}
|
|
}
|
|
stage('copy Artifacts') {
|
|
steps {
|
|
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './'
|
|
}
|
|
}
|
|
stage('count lines') {
|
|
steps {
|
|
sh 'chmod 777 ./cl.sh'
|
|
sh './cl.sh'
|
|
}
|
|
}
|
|
stage('Archive Artifacts') {
|
|
steps {
|
|
archiveArtifacts 'cl_result.txt'
|
|
archiveArtifacts 'wikiniews_results_wer.tsv'
|
|
archiveArtifacts 'wer.txt'
|
|
archiveArtifacts 'srr.txt'
|
|
}
|
|
}
|
|
}
|
|
} |