s407599-mlworkshops/Jenkinsfile
2020-04-03 14:20:52 +02:00

27 lines
979 B
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 'results.txt, wer.txt, srr.txt'
}
}
}
}