dawjur-mlworkshops/Jenkinsfile

25 lines
1.0 KiB
Plaintext
Raw Normal View History

2020-04-03 11:01:31 +02:00
pipeline {
2020-04-03 11:31:56 +02:00
agent { dockerfile true }
2020-04-03 11:01:31 +02:00
stages {
2020-04-03 11:18:13 +02:00
stage('Build') {
2020-04-03 11:20:05 +02:00
steps {
2020-04-03 11:18:13 +02:00
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '8dbda16d-2863-4ee8-8662-3886a4862575', url: 'https://git.wmi.amu.edu.pl/dawjur/dawjur-mlworkshops']]])
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
}
2020-04-03 11:01:31 +02:00
}
2020-04-03 11:28:15 +02:00
stage('Count lines') {
steps {
sh label: '', script: './count_lines.sh wikiniews_results.tsv > line_count.txt'
archiveArtifacts 'line_count.txt'
}
}
2020-04-03 13:22:58 +02:00
stage('Calc metrics') {
steps {
sh label: '', script: './calc_metrics.sh'
archiveArtifacts 'wer.txt'
archiveArtifacts 'srr.txt'
archiveArtifacts 'wikinews_results.tsv'
}
}
2020-04-03 11:01:31 +02:00
}
}