Added missing steps

This commit is contained in:
Artur Nowakowski 2020-04-03 10:52:24 +02:00
parent 892c107ed0
commit 8453d45a80

8
Jenkinsfile vendored
View File

@ -2,16 +2,24 @@ pipeline {
agent any agent any
stages { stages {
stage('Checkout') { stage('Checkout') {
steps{
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s416138/s416138-mlworkshops']]]) checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s416138/s416138-mlworkshops']]])
} }
}
stage('Copy results'){ stage('Copy results'){
steps {
copyArtifacts filter: 'wikinews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful() copyArtifacts filter: 'wikinews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
} }
}
stage('Count lines'){ stage('Count lines'){
steps{
sh label: '', script: './count_lines.sh' sh label: '', script: './count_lines.sh'
} }
}
stage('Archive results'){ stage('Archive results'){
steps{
archiveArtifacts 'counted_lines.txt' archiveArtifacts 'counted_lines.txt'
} }
} }
} }
}