28 lines
921 B
Groovy
28 lines
921 B
Groovy
pipeline {
|
|
agent { dockerfile true }
|
|
stages {
|
|
stage('Copy Archive') {
|
|
steps {
|
|
script {
|
|
step ([$class: 'CopyArtifact',
|
|
projectName: 'ASR-eval',
|
|
target: 'Infra']);
|
|
|
|
|
|
sh 'git --version'
|
|
sh 'git checkout'
|
|
sh 'python3 script.py'
|
|
archiveArtifacts artifacts: 'num_lines.txt'
|
|
sh 'python3 calculate_metrics.py'
|
|
archiveArtifacts artifacts: 'wikiniews_results_with_wer.tsv'
|
|
archiveArtifacts artifacts: 'wer_mean.txt'
|
|
archiveArtifacts artifacts: 'srr.txt'
|
|
archiveArtifacts artifacts: 'historical_wer_mean.txt'
|
|
archiveArtifacts artifacts: 'historical_srr.txt'
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|