s426274-mlworkshops/Jenkinsfile
2020-04-21 20:07:29 +02:00

23 lines
876 B
Groovy

pipeline {
agent any
stages {
stage('checkout: Check out from version control') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s426274/s426274-mlworkshops']]])
}
}
stage('Copy Archive') {
steps {
script {
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
copyArtifacts excludes: 'wikinews_results.tsv', fingerprintArtifacts: true, projectName: 's426274-metrics', selector: lastSuccessful()
}
}
}
stage('Count lines'){
steps {
sh label: 'metrics', script: './script.sh'
}
}
}
}