s452094-mlworkshops/Jenkinsfile

31 lines
758 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 13:12:56 +02:00
stage('Archive artifacts') {
2020-04-03 13:07:58 +02:00
steps {
2020-04-03 13:57:56 +02:00
2020-04-03 13:07:58 +02:00
}
2020-04-03 13:02:23 +02:00
}
2020-04-03 11:18:54 +02:00
}
}