2020-04-03 11:29:56 +02:00
|
|
|
pipeline {
|
2020-04-03 11:32:12 +02:00
|
|
|
agent any
|
2020-04-03 11:29:56 +02:00
|
|
|
|
2020-04-03 11:32:12 +02:00
|
|
|
stages {
|
2020-04-03 13:10:35 +02:00
|
|
|
stage('checkout: Check out from version control') {
|
2020-04-03 11:32:12 +02:00
|
|
|
steps {
|
2020-04-03 13:10:35 +02:00
|
|
|
git 'https://git.wmi.amu.edu.pl/s416122/s416122-mlworkshops'
|
2020-04-03 11:32:12 +02:00
|
|
|
}
|
2020-04-03 13:16:03 +02:00
|
|
|
}
|
|
|
|
stage('copyArtifacts') {
|
|
|
|
steps {
|
2020-04-03 13:52:30 +02:00
|
|
|
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './'
|
2020-04-03 13:16:03 +02:00
|
|
|
}
|
2020-04-03 11:32:12 +02:00
|
|
|
}
|
2020-04-03 13:43:26 +02:00
|
|
|
stage('sh: Shell Script') {
|
|
|
|
steps {
|
|
|
|
sh('chmod +x ./shell_script.sh')
|
|
|
|
sh('./shell_script.sh wikiniews_results.tsv > result.txt')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-03 11:32:12 +02:00
|
|
|
}
|
2020-04-03 13:10:35 +02:00
|
|
|
}
|