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: './'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
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:43:41 +02:00
|
|
|
archiveArtifacts 'wikiniews_results.txt'
|
|
|
|
archiveArtifacts 'wer.txt'
|
|
|
|
archiveArtifacts 'srr.txt'
|
2020-04-18 18:26:02 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|