s416138-mlworkshops/Jenkinsfile
2020-04-03 10:49:56 +02:00

20 lines
722 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'){
copyArtifacts filter: 'wikinews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
}
stage('Count lines'){
sh label: '', script: './count_lines.sh'
}
stage('Archive results'){
archiveArtifacts 'counted_lines.txt'
}
}
}