s452108-mlworkshops/jenkinsfile
2020-04-03 13:00:11 +02:00

29 lines
786 B
Plaintext

pipeline {
agent any
stages {
stage('Cloning GIT') {
steps {
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 {
sh label: '', script: 'ls'
sh label: '', script: './count.sh wikiniews_results.tsv'
}
}
stage('Archive atifacts') {
steps {
archiveArtifacts 'file.txt'
}
}
}
}