s452094-mlworkshops/Jenkinsfile

26 lines
707 B
Plaintext
Raw Normal View History

2020-04-03 11:18:54 +02:00
pipeline {
2020-04-03 13:20:37 +02:00
agent { dockerfile true }
2020-04-03 11:18:54 +02:00
stages {
2020-04-03 13:02:23 +02:00
stage('Checkout') {
2020-04-03 11:18:54 +02:00
steps {
2020-04-03 12:44:21 +02:00
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s452094/s452094-mlworkshops']]])
2020-04-03 11:18:54 +02:00
}
}
2020-04-03 13:02:23 +02:00
stage('Copy artifacts') {
2020-04-03 13:07:58 +02:00
steps {
copyArtifacts filter: '*.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
}
2020-04-03 13:02:23 +02:00
}
2020-04-03 13:56:48 +02:00
stage('Get data') {
2020-04-03 13:07:58 +02:00
steps {
2020-04-03 13:56:48 +02:00
sh label: 'count lines', script: './get_data.sh'
}
}
stage('SCLITE') {
steps {
sh label: 'count lines', script: './sclite.sh'
2020-04-03 13:07:58 +02:00
}
2020-04-03 13:02:23 +02:00
}
2020-04-03 11:18:54 +02:00
}
}