49 lines
1.5 KiB
Groovy
49 lines
1.5 KiB
Groovy
pipeline {
|
|
agent { dockerfile true }
|
|
stages {
|
|
stage('Checkout') {
|
|
steps {
|
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s452094/s452094-mlworkshops']]])
|
|
}
|
|
}
|
|
stage('Copy artifacts') {
|
|
steps {
|
|
copyArtifacts filter: '*.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
|
copyArtifacts filter: 'wer.txt', fingerprintArtifacts: true, projectName: 's452094-metrics', target: 'prev'
|
|
copyArtifacts filter: 'srr.txt', fingerprintArtifacts: true, projectName: 's452094-metrics', target: 'prev'
|
|
copyArtifacts filter: '*.tsv', fingerprintArtifacts: true, projectName: 's452094-metrics', target: 'prev'
|
|
}
|
|
}
|
|
stage('Get data') {
|
|
steps {
|
|
sh label: 'count lines', script: './get_data.sh'
|
|
}
|
|
}
|
|
stage('SCLITE') {
|
|
steps {
|
|
sh label: 'count lines', script: './sclite.sh'
|
|
}
|
|
}
|
|
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'
|
|
sh label: 'get all WER', script: './add_prev.sh'
|
|
}
|
|
}
|
|
stage('Archive') {
|
|
steps {
|
|
archiveArtifacts 'srr.txt'
|
|
archiveArtifacts 'wer.txt'
|
|
archiveArtifacts 'wikiniews_results.tsv'
|
|
}
|
|
}
|
|
stage('Build') {
|
|
steps {
|
|
build 's452094-plots'
|
|
}
|
|
}
|
|
}
|
|
}
|