s452097-mlworkshops/Jenkinsfile
2020-04-03 14:07:46 +02:00

37 lines
1.1 KiB
Groovy

pipeline {
agent {
dockerfile true
}
stages {
stage('Checkout') {
steps {
git 'https://git.wmi.amu.edu.pl/s452097/s452097-mlworkshops'
}
}
stage('Copy artifacts') {
steps {
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './'
}
}
stage('Count words') {
steps {
sh('chmod +x ./count.sh')
sh label: 'count', script: './count.sh'
}
}
stage('Run metrics counter'){
steps{
sh('chmod +x ./metrics.sh')
sh label: 'count', script: './metrics.sh'
}
}
stage('Archive artifacts') {
steps {
archiveArtifacts 'wynik.txt'
}
}
}
}