s416178-mlworkshops/Jenkinsfile

22 lines
663 B
Plaintext
Raw Normal View History

2020-04-03 10:47:06 +02:00
pipeline {
2020-04-03 11:46:29 +02:00
agent { dockerfile true }
2020-04-03 10:47:06 +02:00
stages {
2020-04-03 11:57:33 +02:00
stage('Prepare environment') {
2020-04-03 10:47:06 +02:00
steps {
2020-04-03 11:31:21 +02:00
git 'https://git.wmi.amu.edu.pl/s416178/s416178-mlworkshops'
2020-04-03 11:33:43 +02:00
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './'
2020-04-03 11:31:21 +02:00
}
}
2020-04-03 11:57:33 +02:00
stage('Run script and save results') {
2020-04-03 11:31:21 +02:00
steps {
2020-04-03 11:38:55 +02:00
sh('chmod +x ./shell_script.sh')
2020-04-03 13:18:44 +02:00
sh('./shell_script.sh wikiniews_results.tsv')
2020-04-03 11:38:08 +02:00
archiveArtifacts 'result.log'
2020-04-03 13:18:44 +02:00
archiveArtifacts 'wer.txt'
archiveArtifacts 'srr.txt'
2020-04-03 10:47:06 +02:00
}
}
}
}