s452094-mlworkshops/Jenkinsfile

49 lines
1.5 KiB
Plaintext
Raw Permalink 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 18:15:18 +02:00
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'
2020-04-03 13:07:58 +02:00
}
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 18:15:18 +02:00
sh label: 'get all WER', script: './add_prev.sh'
2020-04-03 16:31:06 +02:00
}
}
2020-04-03 15:16:59 +02:00
stage('Archive') {
steps {
2020-04-03 16:37:05 +02:00
archiveArtifacts 'srr.txt'
2020-04-03 16:31:06 +02:00
archiveArtifacts 'wer.txt'
archiveArtifacts 'wikiniews_results.tsv'
2020-04-03 15:16:59 +02:00
}
}
2020-04-03 21:07:34 +02:00
stage('Build') {
steps {
build 's452094-plots'
}
}
2020-04-03 11:18:54 +02:00
}
}