s407599-mlworkshops/Jenkinsfile

32 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2020-04-03 10:56:17 +02:00
pipeline {
2020-04-03 12:50:27 +02:00
agent { dockerfile true }
2020-04-03 10:56:17 +02:00
stages {
2020-04-03 12:59:43 +02:00
stage('Checkout') {
2020-04-03 10:56:17 +02:00
steps {
2020-04-03 12:39:57 +02:00
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s407599/s407599-mlworkshops']]])
2020-04-03 12:59:43 +02:00
}
}
2020-04-03 14:35:01 +02:00
stage('CopyArtifacts') {
2020-04-03 12:59:43 +02:00
steps {
2020-04-03 12:39:57 +02:00
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval/'
2020-04-03 14:20:52 +02:00
copyArtifacts filter: 'wer.txt, srr.txt', fingerprintArtifacts: true, projectName: 's407599-metrics'
2020-04-03 12:59:43 +02:00
}
}
stage('Shell script') {
steps {
2020-04-03 12:50:27 +02:00
sh label: '', script: './script.sh wikiniews_results.tsv'
2020-04-03 12:59:43 +02:00
}
}
2020-04-03 14:35:01 +02:00
stage('ArchiveArtifacts') {
2020-04-03 12:59:43 +02:00
steps {
2020-04-03 16:37:44 +02:00
archiveArtifacts 'wikiniews_results.tsv, wer.txt, srr.txt'
2020-04-03 10:56:17 +02:00
}
}
2020-04-03 14:35:01 +02:00
stage('Build') {
steps {
build 's407599-plots'
}
}
2020-04-03 10:56:17 +02:00
}
}