2020-04-03 16:17:28 +02:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
stages {
|
2020-04-21 16:22:21 +02:00
|
|
|
stage('checkout: Check out from version control') {
|
2020-04-03 16:17:28 +02:00
|
|
|
steps {
|
2020-04-21 20:07:29 +02:00
|
|
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s426274/s426274-mlworkshops']]])
|
2020-04-03 16:17:28 +02:00
|
|
|
}
|
|
|
|
}
|
2020-04-21 19:51:02 +02:00
|
|
|
stage('Copy Archive') {
|
|
|
|
steps {
|
|
|
|
script {
|
2020-04-21 20:01:41 +02:00
|
|
|
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
|
|
|
copyArtifacts excludes: 'wikinews_results.tsv', fingerprintArtifacts: true, projectName: 's426274-metrics', selector: lastSuccessful()
|
2020-04-21 19:51:02 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Count lines'){
|
2020-04-21 19:04:45 +02:00
|
|
|
steps {
|
2020-04-21 20:01:41 +02:00
|
|
|
sh label: 'metrics', script: './script.sh'
|
2020-04-21 19:04:45 +02:00
|
|
|
}
|
|
|
|
}
|
2020-04-21 19:51:02 +02:00
|
|
|
}
|
2020-04-03 16:17:28 +02:00
|
|
|
}
|