s416178-mlworkshops/Jenkinsfile
2020-04-03 12:48:14 +02:00

22 lines
689 B
Groovy

pipeline {
agent { dockerfile true }
stages {
stage('Prepare environment') {
steps {
git 'https://git.wmi.amu.edu.pl/s416178/s416178-mlworkshops'
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './'
}
}
stage('Run script and save results') {
steps {
sh('chmod +x ./shell_script.sh')
sh('./shell_script.sh wikiniews_results.tsv > result.log')
archiveArtifacts 'result.log'
archiveArtifacts 'hypothesis.trn'
archiveArtifacts 'reference.trn'
}
}
}
}