s452094-mlworkshops/Jenkinsfile

40 lines
1.0 KiB
Plaintext
Raw Normal View History

2020-04-03 11:18:54 +02:00
pipeline {
2020-04-03 13:20:37 +02:00
agent { dockerfile true }
2020-04-03 11:18:54 +02:00
stages {
2020-04-03 13:02:23 +02:00
stage('Checkout') {
2020-04-03 11:18:54 +02:00
steps {
2020-04-03 12:44:21 +02:00
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s452094/s452094-mlworkshops']]])
2020-04-03 11:18:54 +02:00
}
}
2020-04-03 13:02:23 +02:00
stage('Copy artifacts') {
2020-04-03 13:07:58 +02:00
steps {
copyArtifacts filter: '*.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
}
2020-04-03 13:02:23 +02:00
}
2020-04-03 13:56:48 +02:00
stage('Get data') {
2020-04-03 13:07:58 +02:00
steps {
2020-04-03 13:56:48 +02:00
sh label: 'count lines', script: './get_data.sh'
}
}
stage('SCLITE') {
steps {
sh label: 'count lines', script: './sclite.sh'
2020-04-03 13:07:58 +02:00
}
2020-04-03 13:02:23 +02:00
}
2020-04-03 16:31:06 +02:00
stage('Calculations') {
steps {
sh label: 'get all WER', script: './get_wer_lines.sh'
sh label: 'get all WER', script: './avr_wer.sh'
sh label: 'get all WER', script: './ssr.sh'
}
}
2020-04-03 15:16:59 +02:00
stage('Archive') {
steps {
2020-04-03 16:31:06 +02:00
archiveArtifacts 'ssr.txt'
archiveArtifacts 'wer.txt'
archiveArtifacts 'wikiniews_results.tsv'
2020-04-03 15:16:59 +02:00
}
}
2020-04-03 11:18:54 +02:00
}
}