2020-04-03 11:24:17 +02:00
|
|
|
pipeline {
|
2020-04-03 12:24:10 +02:00
|
|
|
agent { dockerfile true }
|
2020-04-03 11:24:17 +02:00
|
|
|
stages {
|
2020-04-03 12:30:49 +02:00
|
|
|
stage('Stage 1') {
|
2020-04-03 11:24:17 +02:00
|
|
|
steps {
|
2020-04-03 12:30:49 +02:00
|
|
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s421818/s421818-mlworkshops.git']]])
|
|
|
|
copyArtifacts fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
2020-04-03 13:42:08 +02:00
|
|
|
sh('chmod 755 ./metrics.sh')
|
2020-04-03 13:40:59 +02:00
|
|
|
sh('chmod 755 ./createWERandSRRFiles.py')
|
|
|
|
sh('./metrics.sh')
|
2020-04-03 15:46:50 +02:00
|
|
|
|
|
|
|
copyArtifacts filter: 'ssr.txt', fingerprintArtifacts: true, projectName: 's421818-metrics', selector: lastSuccessful()
|
|
|
|
copyArtifacts filter: 'wer.txt', fingerprintArtifacts: true, projectName: 's421818-metrics', selector: lastSuccessful()
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-04-03 15:42:01 +02:00
|
|
|
archiveArtifacts 'wikiniews_resultsWithAdditionalColumn.tsv'
|
|
|
|
archiveArtifacts 'ssr.txt'
|
|
|
|
archiveArtifacts 'wer.txt'
|
2020-04-03 11:24:17 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-04-03 12:30:49 +02:00
|
|
|
}
|