2020-04-03 12:40:18 +02:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
stages {
|
2020-04-03 12:52:51 +02:00
|
|
|
stage('Checkout') {
|
2020-04-03 12:40:18 +02:00
|
|
|
steps {
|
|
|
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s416226/s416226-mlworkshops']]])
|
|
|
|
}
|
|
|
|
}
|
2020-04-03 12:52:51 +02:00
|
|
|
stage('Copy artifacts'){
|
|
|
|
steps {
|
2020-04-03 13:04:47 +02:00
|
|
|
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
2020-04-03 12:52:51 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Count lines'){
|
|
|
|
steps {
|
2020-04-03 13:06:18 +02:00
|
|
|
sh label: '', script: './lines_counter.sh wikiniews_results.tsv'
|
2020-04-03 12:52:51 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Save result'){
|
|
|
|
steps {
|
|
|
|
archiveArtifacts 'output.txt'
|
|
|
|
}
|
|
|
|
}
|
2020-04-03 12:40:18 +02:00
|
|
|
}
|
2020-04-03 12:14:30 +02:00
|
|
|
}
|