s407599-mlworkshops/Jenkinsfile
2020-04-03 16:37:44 +02:00

32 lines
1.1 KiB
Groovy

pipeline {
agent { dockerfile true }
stages {
stage('Checkout') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s407599/s407599-mlworkshops']]])
}
}
stage('CopyArtifacts') {
steps {
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval/'
copyArtifacts filter: 'wer.txt, srr.txt', fingerprintArtifacts: true, projectName: 's407599-metrics'
}
}
stage('Shell script') {
steps {
sh label: '', script: './script.sh wikiniews_results.tsv'
}
}
stage('ArchiveArtifacts') {
steps {
archiveArtifacts 'wikiniews_results.tsv, wer.txt, srr.txt'
}
}
stage('Build') {
steps {
build 's407599-plots'
}
}
}
}