Added missing steps

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

16
Jenkinsfile vendored
View File

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