28 lines
633 B
Groovy
28 lines
633 B
Groovy
pipeline {
|
|
agent { dockerfile true }
|
|
stages {
|
|
stage('Copy Archive') {
|
|
steps {
|
|
sh 'node --version'
|
|
sh 'svn --version'
|
|
|
|
|
|
script {
|
|
step ([$class: 'CopyArtifact',
|
|
projectName: 'ASR-eval',
|
|
target: 'Infra']);
|
|
}
|
|
sh 'git checkout'
|
|
sh 'python3 script.py'
|
|
sh 'pip3 install pandas'
|
|
archiveArtifacts artifacts: 'num_lines.txt'
|
|
|
|
|
|
sh 'python3 calculate_metrics.py'
|
|
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|