dawjur-mlworkshops/Jenkinsfile

17 lines
771 B
Plaintext
Raw Normal View History

2020-04-03 11:01:31 +02:00
pipeline {
agent any
stages {
2020-04-03 11:18:13 +02:00
stage('Build') {
2020-04-03 11:20:05 +02:00
steps {
2020-04-03 11:18:13 +02:00
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()
}
2020-04-03 11:01:31 +02:00
}
2020-04-03 11:28:15 +02:00
stage('Count lines') {
steps {
sh label: '', script: './count_lines.sh wikiniews_results.tsv > line_count.txt'
archiveArtifacts 'line_count.txt'
}
}
2020-04-03 11:01:31 +02:00
}
}