26 lines
835 B
Groovy
26 lines
835 B
Groovy
pipeline {
|
|
agent any
|
|
stages {
|
|
stage('Checkout') {
|
|
steps{
|
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s416138/s416138-mlworkshops']]])
|
|
}
|
|
}
|
|
stage('Copy results'){
|
|
steps {
|
|
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
|
}
|
|
}
|
|
stage('Count lines'){
|
|
steps{
|
|
sh label: '', script: './count_lines.sh'
|
|
}
|
|
}
|
|
stage('Archive results'){
|
|
steps{
|
|
archiveArtifacts 'counted_lines.txt'
|
|
}
|
|
}
|
|
}
|
|
}
|