25 lines
712 B
Groovy
25 lines
712 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/s416226/s416226-mlworkshops']]])
|
|
}
|
|
}
|
|
stage('Copy artifacts'){
|
|
steps {
|
|
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
|
}
|
|
}
|
|
stage('Count lines'){
|
|
steps {
|
|
sh label: '', script: './lines_counter.sh wikiniews_results.tsv'
|
|
}
|
|
}
|
|
stage('Save result'){
|
|
steps {
|
|
archiveArtifacts 'output.txt'
|
|
}
|
|
}
|
|
}
|
|
} |