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