s421818-plots/Jenkinsfile
2020-04-21 17:00:13 +02:00

21 lines
1.1 KiB
Groovy

pipeline {
agent { dockerfile true }
stages {
stage('Stage 1') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s421818/s421818-mlworkshops.git']]])
copyArtifacts fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
copyArtifacts filter: 'ssr.txt', fingerprintArtifacts: true, projectName: 's421818-metrics', selector: lastSuccessful()
copyArtifacts filter: 'wer.txt', fingerprintArtifacts: true, projectName: 's421818-metrics', selector: lastSuccessful()
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s421818/s421818-plots.git']]])
sh('chmod 755 ./run.sh')
sh('chmod 755 ./diagrams.py')
sh('./run.sh')
archiveArtifacts 'ssr.png'
archiveArtifacts 'wer.png'
}
}
}
}