40 lines
1.0 KiB
Groovy
40 lines
1.0 KiB
Groovy
pipeline {
|
|
agent any
|
|
|
|
stages {
|
|
stage('Clone Git') {
|
|
steps {
|
|
checkout([$class: 'GitSCM',
|
|
branches: [[name: '*/master']],
|
|
doGenerateSubmoduleConfigurations: false,
|
|
extensions: [],
|
|
submoduleCfg: [],
|
|
userRemoteConfigs: [[
|
|
url: 'https://git.wmi.amu.edu.pl/s452092/s4520929-mlworkshops.git']]])
|
|
}
|
|
}
|
|
stage('Copy Archive') {
|
|
steps {
|
|
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
|
}
|
|
}
|
|
stage('Count Words') {
|
|
steps {
|
|
sh 'chmod +x ./count.sh'
|
|
sh './count.sh'
|
|
}
|
|
}
|
|
stage('Archive Artifacts') {
|
|
steps {
|
|
archiveArtifacts 'results.txt'
|
|
}
|
|
}
|
|
stage('WER SRR Metrics') {
|
|
steps {
|
|
sh 'chmod +x ./wersrrmetrics.sh'
|
|
sh './wersrrmetrics.sh'
|
|
}
|
|
}
|
|
|
|
}
|
|
} |