s4520929-mlworkshops/Jenkinsfile
2020-04-03 14:05:41 +02:00

28 lines
773 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'
}
}
}
}