s416178-mlworkshops/Jenkinsfile
2020-04-03 11:57:33 +02:00

20 lines
598 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'
}
}
}
}