2019-04-26 11:01:13 +02:00
|
|
|
pipeline {
|
2019-04-26 12:24:51 +02:00
|
|
|
agent { dockerfile true }
|
2019-04-26 11:01:13 +02:00
|
|
|
stages {
|
2019-04-26 12:30:49 +02:00
|
|
|
stage('Generate results') {
|
2019-04-26 11:01:13 +02:00
|
|
|
steps {
|
2019-04-26 12:24:51 +02:00
|
|
|
copyArtifacts filter: '*', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
2019-04-26 11:38:51 +02:00
|
|
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '8cdbf19a-e62d-4807-9112-bc7a8d225074', url: 'https://git.wmi.amu.edu.pl/s407608/s407608-mlworkshops']]])
|
2019-04-26 11:59:08 +02:00
|
|
|
sh 'sh my_shell_script.sh wikiniews_results.tsv > results.txt'
|
2019-04-26 11:46:07 +02:00
|
|
|
archiveArtifacts 'results.txt'
|
2019-04-26 13:21:09 +02:00
|
|
|
sh 'sh evaluation.sh wikiniews_results.tsv'
|
2019-04-26 15:43:03 +02:00
|
|
|
archiveArtifacts 'wikiniews_results2.tsv'
|
|
|
|
archiveArtifacts 'metric_aggregated.txt'
|
2019-04-26 11:01:13 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-04-26 12:24:51 +02:00
|
|
|
|