dawjur-mlworkshops/Jenkinsfile

30 lines
1.3 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 14:00:11 +02:00
copyArtifacts excludes: 'wikinews_results.tsv', fingerprintArtifacts: true, projectName: 'dawjur-metrics', selector: lastSuccessful()
2020-04-03 11:18:13 +02:00
}
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 14:12:17 +02:00
stage('build dawjur-plots') {
steps {
build 'dawjur-plots'
}
2020-04-03 11:01:31 +02:00
}
}