2020-04-03 11:29:20 +02:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
|
|
|
|
stages {
|
2020-04-03 13:19:44 +02:00
|
|
|
stage('Clone Git') {
|
2020-04-03 11:29:20 +02:00
|
|
|
steps {
|
2020-04-03 13:19:44 +02:00
|
|
|
checkout([$class: 'GitSCM',
|
|
|
|
branches: [[name: '*/master']],
|
|
|
|
doGenerateSubmoduleConfigurations: false,
|
|
|
|
extensions: [],
|
|
|
|
submoduleCfg: [],
|
|
|
|
userRemoteConfigs: [[
|
|
|
|
url: 'https://git.wmi.amu.edu.pl/s452092/s4520929-mlworkshops.git']]])
|
2020-04-03 11:29:20 +02:00
|
|
|
}
|
|
|
|
}
|
2020-04-03 14:01:10 +02:00
|
|
|
stage('Copy Archive') {
|
|
|
|
steps {
|
|
|
|
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Count Words') {
|
|
|
|
steps {
|
2020-04-03 14:05:41 +02:00
|
|
|
sh 'chmod +x ./count.sh'
|
2020-04-03 14:01:10 +02:00
|
|
|
sh './count.sh'
|
|
|
|
}
|
|
|
|
}
|
2020-04-03 16:50:56 +02:00
|
|
|
stage('Archive Artifacts') {
|
|
|
|
steps {
|
|
|
|
archiveArtifacts 'results.txt'
|
|
|
|
}
|
|
|
|
}
|
2020-04-03 19:06:28 +02:00
|
|
|
stage('WER SRR Metrics') {
|
|
|
|
steps {
|
|
|
|
sh 'chmod +x ./wersrrmetrics.sh'
|
|
|
|
sh './wersrrmetrics.sh'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Copy Metric Artifacts') {
|
|
|
|
steps {
|
|
|
|
copyArtifacts filter: 'wer.txt', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
|
|
|
copyArtifacts filter: 'srr.txt', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
|
|
|
}
|
|
|
|
}
|
2020-04-03 11:29:20 +02:00
|
|
|
}
|
|
|
|
}
|