51 lines
1.1 KiB
Groovy
51 lines
1.1 KiB
Groovy
pipeline {
|
|
|
|
agent { dockerfile true }
|
|
|
|
stages {
|
|
stage('Copy Archive') {
|
|
steps {
|
|
script {
|
|
step ([$class: 'CopyArtifact',
|
|
projectName: 'ASR-eval',
|
|
target: 'Infra']);
|
|
}
|
|
}
|
|
}
|
|
|
|
stage('Git checkout') {
|
|
steps{
|
|
sh 'git checkout'
|
|
}
|
|
}
|
|
|
|
stage('Run script') {
|
|
steps{
|
|
sh 'chmod 755 ./script.sh'
|
|
sh 'sh script.sh text.txt out.txt'
|
|
archiveArtifacts artifacts: 'out.txt'
|
|
}
|
|
}
|
|
|
|
stage('Docker Test') {
|
|
steps {
|
|
sh 'git --version'
|
|
}
|
|
}
|
|
|
|
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'
|
|
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
|