s452111-mlworkshops/Jenkinsfile

31 lines
740 B
Plaintext
Raw Normal View History

2020-04-03 14:50:49 +02:00
pipeline {
2020-04-21 19:19:04 +02:00
agent { dockerfile true }
2020-04-03 14:50:49 +02:00
stages {
2020-04-21 21:07:38 +02:00
stage('Checkout') {
steps {
checkout([$class: 'GitSCM',
branches: [[name: '*/master']],
doGenerateSubmoduleConfigurations: false,
extensions: [],
submoduleCfg: [],
userRemoteConfigs: [[
url: 'https://git.wmi.amu.edu.pl/s452111/s452111-mlworkshops']]])
}
}
stage('Copy Artifacts') {
steps {
2020-04-21 21:17:06 +02:00
copyArtifacts filter: 'wikiniews_results.tsv,fingerprintArtifacts: true,projectName: 'ASR-eval',selector: lastSuccessful()
2020-04-21 21:07:38 +02:00
}
}
stage('Count words') {
sh 'chmod +x ./service.sh'
sh './service.sh wikiniews_results.tsv'
}
stage('Archive artifacts') {
steps {
archiveArtifacts: 'lines_count.txt', fingerprint: true
}
}
2020-04-03 14:50:49 +02:00
}
}