24 lines
576 B
Groovy
24 lines
576 B
Groovy
pipeline {
|
|
agent any
|
|
|
|
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')
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|