s416138-mlworkshops/Jenkinsfile

26 lines
835 B
Plaintext
Raw Normal View History

2020-04-03 10:31:36 +02:00
pipeline {
agent any
stages {
2020-04-03 10:49:56 +02:00
stage('Checkout') {
2020-04-03 10:52:24 +02:00
steps{
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s416138/s416138-mlworkshops']]])
}
2020-04-03 10:31:36 +02:00
}
2020-04-03 10:49:56 +02:00
stage('Copy results'){
2020-04-03 10:52:24 +02:00
steps {
2020-04-03 10:53:53 +02:00
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
2020-04-03 10:52:24 +02:00
}
2020-04-03 10:49:56 +02:00
}
stage('Count lines'){
2020-04-03 10:52:24 +02:00
steps{
sh label: '', script: './count_lines.sh'
}
2020-04-03 10:49:56 +02:00
}
stage('Archive results'){
2020-04-03 10:52:24 +02:00
steps{
archiveArtifacts 'counted_lines.txt'
}
2020-04-03 10:49:56 +02:00
}
2020-04-03 10:31:36 +02:00
}
}