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()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Count words') {
|
|
|
|
steps {
|
2020-04-03 13:00:11 +02:00
|
|
|
sh label: '', script: './count.sh wikiniews_results.tsv'
|
2020-04-03 16:36:32 +02:00
|
|
|
sh label: '', script: './count2.sh wikiniews_results.tsv'
|
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-03 11:12:27 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|