s407259-mlworkshops/Jenkinsfile

28 lines
926 B
Plaintext
Raw Normal View History

2019-04-26 11:01:34 +02:00
pipeline {
2019-04-26 12:20:08 +02:00
agent { dockerfile true }
2019-04-26 11:01:34 +02:00
stages {
stage('Copy Archive') {
steps {
script {
step ([$class: 'CopyArtifact',
projectName: 'ASR-eval',
target: 'Infra']);
2019-04-26 12:52:37 +02:00
sh 'git --version'
sh 'git checkout'
sh 'python3 script.py'
archiveArtifacts artifacts: 'num_lines.txt'
2019-05-16 10:14:44 +02:00
sh 'sudo python3 calculate_metrics.py'
2019-05-16 10:11:25 +02:00
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'
2019-04-26 12:52:37 +02:00
2019-05-16 10:11:25 +02:00
}
2019-04-26 11:00:51 +02:00
}
}
2019-04-26 11:01:34 +02:00
}
}