s426086-mlworkshops/Jenkinsfile
2020-04-23 07:06:11 +00:00

36 lines
1.2 KiB
Groovy

pipeline {
agent { dockerfile true }
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: './'
copyArtifacts filter: 'wer.txt', fingerprintArtifacts: true, projectName: 's426086-metrics', selector: lastSuccessful()
copyArtifacts filter: 'srr.txt', fingerprintArtifacts: true, projectName: 's426086-metrics', selector: lastSuccessful()
}
}
stage('countLines') {
steps {
sh 'chmod 777 ./countlines-metrics.sh'
sh './countlines-metrics.sh'
}
}
stage('archiveArtifacts') {
steps {
archiveArtifacts 'countlines_result.txt'
archiveArtifacts 'wikiniews_results.tsv'
archiveArtifacts 'wer.txt'
archiveArtifacts 'srr.txt'
}
}
stage("buildMetrics") {
steps {
build 's426086-plots'
}
}
}
}