s426266-mlworkshops/Jenkinsfile
Lukasz Tatrocki 8d086f8e9b plots
2020-04-23 11:45:35 +02:00

35 lines
947 B
Groovy

pipeline {
agent { dockerfile true }
stages {
stage('Checkout') {
steps {
git 'https://git.wmi.amu.edu.pl/s426266/s426266-mlworkshops'
}
}
stage('Copy artifacts') {
steps {
copyArtifacts fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
}
}
stage('Count lines') {
steps{
sh('chmod +x ./count_lines.sh')
sh('./count_lines.sh')
}
}
stage('Archive artifacts') {
steps{
archiveArtifacts 'count_lines.txt'
archiveArtifacts 'wikiniews_results.tsv'
archiveArtifacts 'wer.txt'
archiveArtifacts 'srr.txt'
}
}
stage('Build plots') {
steps {
build 's426266-plots'
}
}
}
}