24 lines
552 B
Groovy
24 lines
552 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'
|
|
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|