28 lines
697 B
Groovy
28 lines
697 B
Groovy
pipeline {
|
|
agent { dockerfile true }
|
|
|
|
stages {
|
|
stage('checkout: Check out from version control') {
|
|
steps {
|
|
git 'https://git.wmi.amu.edu.pl/s416122/s416122-mlworkshops'
|
|
}
|
|
}
|
|
stage('copyArtifacts') {
|
|
steps {
|
|
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './'
|
|
}
|
|
}
|
|
stage('sh: Shell Script') {
|
|
steps {
|
|
sh('chmod +x ./shell_script.sh')
|
|
sh('./shell_script.sh wikiniews_results.tsv > result.txt')
|
|
}
|
|
}
|
|
stage('archiveArtifacts') {
|
|
steps {
|
|
archiveArtifacts 'result.txt'
|
|
}
|
|
}
|
|
}
|
|
}
|