s452108-mlworkshops/jenkinsfile

28 lines
801 B
Plaintext
Raw Normal View History

2020-04-03 11:12:27 +02:00
pipeline {
2020-04-03 13:07:36 +02:00
agent { dockerfile true }
2020-04-03 11:12:27 +02:00
stages {
2020-04-03 12:38:43 +02:00
stage('Cloning GIT') {
2020-04-03 11:12:27 +02:00
steps {
2020-04-03 12:38:43 +02:00
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()
}
}
stage('Count words') {
steps {
2020-04-03 12:58:30 +02:00
sh label: '', script: 'ls'
2020-04-03 13:00:11 +02:00
sh label: '', script: './count.sh wikiniews_results.tsv'
2020-04-03 12:38:43 +02:00
}
}
stage('Archive atifacts') {
steps {
archiveArtifacts 'file.txt'
2020-04-03 11:12:27 +02:00
}
}
}
}