s152483-mlworkshops/Jenkinsfile
2020-04-03 13:05:45 +02:00

26 lines
748 B
Groovy

pipeline {
agent { dockerfile true }
stages {
stage('checkout: Check out from version control') {
steps {
git 'https://git.wmi.amu.edu.pl/s152483/s152483-mlworkshops'
}
}
stage('copy Artifacts') {
steps {
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './'
}
}
stage('count lines') {
steps {
sh 'chmod 777 ./cl.sh'
sh './cl.sh'
}
}
stage('Archive Artifacts') {
steps {
archiveArtifacts 'cl_result.txt'
}
}
}
}