2020-04-03 14:50:49 +02:00
|
|
|
pipeline {
|
2020-04-21 19:19:04 +02:00
|
|
|
agent { dockerfile true }
|
2020-04-03 14:50:49 +02:00
|
|
|
stages {
|
2020-04-21 21:07:38 +02:00
|
|
|
stage('Checkout') {
|
|
|
|
steps {
|
|
|
|
checkout([$class: 'GitSCM',
|
|
|
|
branches: [[name: '*/master']],
|
|
|
|
doGenerateSubmoduleConfigurations: false,
|
|
|
|
extensions: [],
|
|
|
|
submoduleCfg: [],
|
|
|
|
userRemoteConfigs: [[
|
|
|
|
url: 'https://git.wmi.amu.edu.pl/s452111/s452111-mlworkshops']]])
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Copy Artifacts') {
|
|
|
|
steps {
|
2020-04-21 21:25:03 +02:00
|
|
|
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
2020-04-21 21:07:38 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Count words') {
|
|
|
|
sh 'chmod +x ./service.sh'
|
|
|
|
sh './service.sh wikiniews_results.tsv'
|
|
|
|
}
|
2020-04-03 14:50:49 +02:00
|
|
|
}
|
|
|
|
}
|