33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
pipeline {
|
|
agent { dockerfile true }
|
|
stages {
|
|
stage('Cloning GIT') {
|
|
steps {
|
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s452108/s452108-mlworkshops']]])
|
|
}
|
|
}
|
|
stage('Copy Artifacts') {
|
|
steps {
|
|
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
|
copyArtifacts filter: 'averagesrr.txt', fingerprintArtifacts: true, projectName: 's452108-metrics', selector: lastSuccessful()
|
|
copyArtifacts filter: 'averagewer.txt', fingerprintArtifacts: true, projectName: 's452108-metrics', selector: lastSuccessful()
|
|
}
|
|
}
|
|
stage('Count words') {
|
|
steps {
|
|
sh label: '', script: './count.sh wikiniews_results.tsv'
|
|
sh label: '', script: './count2.sh'
|
|
}
|
|
}
|
|
stage('Archive atifacts') {
|
|
steps {
|
|
archiveArtifacts 'clear.txt'
|
|
archiveArtifacts 'averagesrr.txt'
|
|
archiveArtifacts 'averagewer.txt'
|
|
archiveArtifacts 'wikiniews_results.tsv'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|