24 lines
980 B
Groovy
24 lines
980 B
Groovy
pipeline {
|
|
agent { dockerfile true }
|
|
stages {
|
|
stage('Stage 1') {
|
|
steps {
|
|
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()
|
|
copyArtifacts filter: 'ssr.txt', fingerprintArtifacts: true, projectName: 's421818-metrics', selector: lastSuccessful()
|
|
copyArtifacts filter: 'wer.txt', fingerprintArtifacts: true, projectName: 's421818-metrics', selector: lastSuccessful()
|
|
|
|
sh('chmod 755 ./metrics.sh')
|
|
sh('chmod 755 ./createWERandSRRFiles.py')
|
|
sh('./metrics.sh')
|
|
|
|
|
|
archiveArtifacts 'wikiniews_resultsWithAdditionalColumn.tsv'
|
|
archiveArtifacts 'ssr.txt'
|
|
archiveArtifacts 'wer.txt'
|
|
|
|
tail -15 ssr.txt
|
|
}
|
|
}
|
|
}
|
|
} |