2020-04-03 11:12:27 +02:00
|
|
|
pipeline {
|
2020-04-03 13:07:36 +02:00
|
|
|
agent { dockerfile true }
|
2020-04-03 11:12:27 +02:00
|
|
|
stages {
|
2020-04-03 12:38:43 +02:00
|
|
|
stage('Cloning GIT') {
|
2020-04-03 11:12:27 +02:00
|
|
|
steps {
|
2020-04-03 12:38:43 +02:00
|
|
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s452108/s452108-mlworkshops']]])
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Copy Artifacts') {
|
|
|
|
steps {
|
|
|
|
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
2020-04-05 17:47:02 +02:00
|
|
|
copyArtifacts filter: 'averagesrr.txt', fingerprintArtifacts: true, projectName: 's452108-metrics', selector: lastSuccessful()
|
|
|
|
copyArtifacts filter: 'averagewer.txt', fingerprintArtifacts: true, projectName: 's452108-metrics', selector: lastSuccessful()
|
2020-04-03 12:38:43 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Count words') {
|
|
|
|
steps {
|
2020-04-03 13:00:11 +02:00
|
|
|
sh label: '', script: './count.sh wikiniews_results.tsv'
|
2020-04-05 17:55:34 +02:00
|
|
|
sh label: '', script: './count2.sh'
|
2020-04-03 12:38:43 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Archive atifacts') {
|
|
|
|
steps {
|
2020-04-03 16:36:32 +02:00
|
|
|
archiveArtifacts 'clear.txt'
|
2020-04-05 17:46:31 +02:00
|
|
|
archiveArtifacts 'averagesrr.txt'
|
|
|
|
archiveArtifacts 'averagewer.txt'
|
2020-04-03 17:23:13 +02:00
|
|
|
archiveArtifacts 'wikiniews_results.tsv'
|
2020-04-03 11:12:27 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|