s421818-plots/Jenkinsfile

21 lines
1.1 KiB
Plaintext
Raw Normal View History

2020-04-21 16:04:54 +02:00
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()
2020-04-21 16:59:18 +02:00
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s421818/s421818-plots.git']]])
2020-04-21 16:53:53 +02:00
sh('chmod 755 ./run.sh')
sh('chmod 755 ./diagrams.py')
sh('./run.sh')
2020-04-21 17:00:13 +02:00
archiveArtifacts 'ssr.png'
archiveArtifacts 'wer.png'
2020-04-21 16:04:54 +02:00
}
}
}
}