26 lines
574 B
Groovy
26 lines
574 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'
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|