17 lines
786 B
Groovy
17 lines
786 B
Groovy
pipeline {
|
|
agent { dockerfile true }
|
|
stages {
|
|
stage('Build') {
|
|
steps {
|
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '8dbda16d-2863-4ee8-8662-3886a4862575', url: 'https://git.wmi.amu.edu.pl/dawjur/dawjur-mlworkshops']]])
|
|
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
|
}
|
|
}
|
|
stage('Count lines') {
|
|
steps {
|
|
sh label: '', script: './count_lines.sh wikiniews_results.tsv > line_count.txt'
|
|
archiveArtifacts 'line_count.txt'
|
|
}
|
|
}
|
|
}
|
|
} |