s426086-mlworkshops/Jenkinsfile

36 lines
1.2 KiB
Plaintext
Raw Normal View History

2020-04-18 17:08:53 +02:00
pipeline {
2020-04-18 19:27:22 +02:00
agent { dockerfile true }
2020-04-18 18:26:02 +02:00
stages {
stage('checkoutGit') {
steps {
git 'https://git.wmi.amu.edu.pl/s426086/s426086-mlworkshops'
}
}
stage('copyArtifacts') {
steps {
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './'
2020-04-22 23:52:24 +02:00
copyArtifacts filter: 'wer.txt', fingerprintArtifacts: true, projectName: 's426086-metrics', selector: lastSuccessful()
copyArtifacts filter: 'srr.txt', fingerprintArtifacts: true, projectName: 's426086-metrics', selector: lastSuccessful()
2020-04-18 18:26:02 +02:00
}
}
stage('countLines') {
steps {
2020-04-22 23:30:43 +02:00
sh 'chmod 777 ./countlines-metrics.sh'
2020-04-22 23:12:00 +02:00
sh './countlines-metrics.sh'
2020-04-18 18:26:02 +02:00
}
}
stage('archiveArtifacts') {
steps {
2020-04-18 18:29:21 +02:00
archiveArtifacts 'countlines_result.txt'
2020-04-22 23:47:48 +02:00
archiveArtifacts 'wikiniews_results.tsv'
2020-04-22 23:43:41 +02:00
archiveArtifacts 'wer.txt'
archiveArtifacts 'srr.txt'
2020-04-18 18:26:02 +02:00
}
}
2020-04-23 09:06:11 +02:00
stage("buildMetrics") {
steps {
build 's426086-plots'
}
}
2020-04-18 18:26:02 +02:00
}
}