2019-04-26 11:01:34 +02:00
|
|
|
pipeline {
|
2019-04-26 11:03:17 +02:00
|
|
|
agent any
|
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 11:30:14 +02:00
|
|
|
sh 'git checkout'
|
2019-04-26 11:23:49 +02:00
|
|
|
sh 'python3 script.py'
|
2019-04-26 12:17:38 +02:00
|
|
|
sh 'pip3 install pandas'
|
2019-04-26 11:43:27 +02:00
|
|
|
archiveArtifacts artifacts: 'num_lines.txt'
|
2019-04-26 12:13:44 +02:00
|
|
|
|
|
|
|
|
|
|
|
sh 'python3 calculate_metrics.py'
|
|
|
|
|
|
|
|
|
2019-04-26 11:00:51 +02:00
|
|
|
}
|
|
|
|
}
|
2019-04-26 11:01:34 +02:00
|
|
|
}
|
|
|
|
}
|