2019-04-26 10:36:29 +02:00
|
|
|
pipeline {
|
2019-04-26 12:13:24 +02:00
|
|
|
|
2019-04-26 12:21:17 +02:00
|
|
|
agent { dockerfile true }
|
2019-04-26 12:13:24 +02:00
|
|
|
|
2019-04-26 10:36:29 +02:00
|
|
|
stages {
|
2019-04-26 11:07:45 +02:00
|
|
|
stage('Copy Archive') {
|
|
|
|
steps {
|
|
|
|
script {
|
|
|
|
step ([$class: 'CopyArtifact',
|
|
|
|
projectName: 'ASR-eval',
|
|
|
|
target: 'Infra']);
|
|
|
|
}
|
2019-04-26 10:49:02 +02:00
|
|
|
}
|
|
|
|
}
|
2019-04-26 11:29:21 +02:00
|
|
|
|
2019-04-26 12:06:55 +02:00
|
|
|
stage('Git checkout') {
|
2019-04-26 11:29:21 +02:00
|
|
|
steps{
|
2019-04-26 11:53:26 +02:00
|
|
|
sh 'git checkout'
|
2019-04-26 12:06:55 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-26 12:23:30 +02:00
|
|
|
stage('Run script') {
|
2019-04-26 12:06:55 +02:00
|
|
|
steps{
|
2019-05-16 13:50:58 +02:00
|
|
|
sh 'chmod 755 ./script.sh'
|
2019-05-16 12:56:06 +02:00
|
|
|
sh 'sh script.sh text.txt out.txt'
|
2019-04-26 12:10:57 +02:00
|
|
|
archiveArtifacts artifacts: 'out.txt'
|
2019-04-26 11:29:21 +02:00
|
|
|
}
|
|
|
|
}
|
2019-04-26 12:06:55 +02:00
|
|
|
|
2019-04-26 12:26:10 +02:00
|
|
|
stage('Docker Test') {
|
2019-04-26 12:13:24 +02:00
|
|
|
steps {
|
2019-04-26 12:23:30 +02:00
|
|
|
sh 'git --version'
|
2019-04-26 12:13:24 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-16 13:50:58 +02:00
|
|
|
stage('WER & SRR') {
|
|
|
|
steps {
|
|
|
|
sh 'chmod 755 ./metryki.sh'
|
|
|
|
sh 'sh metryki.sh'
|
|
|
|
archiveArtifacts artifacts: 'wikiniews_results_with_wer.tsv'
|
|
|
|
archiveArtifacts artifacts: 'wer_mean.txt'
|
|
|
|
archiveArtifacts artifacts: 'srr.txt'
|
2019-05-16 12:56:06 +02:00
|
|
|
|
2019-05-16 13:50:58 +02:00
|
|
|
}
|
|
|
|
}
|
2019-04-26 13:35:21 +02:00
|
|
|
|
2019-04-26 12:06:55 +02:00
|
|
|
}
|
2019-04-26 11:11:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|