s4520929-mlworkshops/Jenkinsfile
2020-04-03 16:50:56 +02:00

33 lines
887 B
Groovy

pipeline {
agent any
stages {
stage('Clone Git') {
steps {
checkout([$class: 'GitSCM',
branches: [[name: '*/master']],
doGenerateSubmoduleConfigurations: false,
extensions: [],
submoduleCfg: [],
userRemoteConfigs: [[
url: 'https://git.wmi.amu.edu.pl/s452092/s4520929-mlworkshops.git']]])
}
}
stage('Copy Archive') {
steps {
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
}
}
stage('Count Words') {
steps {
sh 'chmod +x ./count.sh'
sh './count.sh'
}
}
stage('Archive Artifacts') {
steps {
archiveArtifacts 'results.txt'
}
}
}
}