35 lines
947 B
Groovy
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'
|
|
}
|
|
}
|
|
}
|
|
} |