s396302-mlworkshops/Jenkinsfile

22 lines
704 B
Groovy

pipeline {
agent any
stages {
stage('Stage 1') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s396302/s396302-mlworkshops']]])
}
}
stage('Artefacts') {
steps {
copyArtifacts filter: '*.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: 'artefacts/'
}
}
stage('Count lines') {
steps {
sh label: '', script: './count_lines.sh wikinews_results.tsv > line_count.txt'
archiveArtifacts 'line_count.txt'
}
}
}
}