2020-04-03 16:17:28 +02:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
stages {
|
2020-04-21 16:22:21 +02:00
|
|
|
stage('checkout: Check out from version control') {
|
2020-04-03 16:17:28 +02:00
|
|
|
steps {
|
2020-04-21 16:28:30 +02:00
|
|
|
git branch: 'master',
|
2020-04-21 16:22:21 +02:00
|
|
|
url: 'https://git.wmi.amu.edu.pl/s426274/s426274-mlworkshops.git'
|
2020-04-03 16:17:28 +02:00
|
|
|
}
|
|
|
|
}
|
2020-04-21 19:47:35 +02:00
|
|
|
stage('Copy artifacts'){
|
|
|
|
steps {
|
|
|
|
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Count lines and metrics'){
|
2020-04-21 19:04:45 +02:00
|
|
|
steps {
|
2020-04-21 19:47:35 +02:00
|
|
|
sh('chmod +x ./script.sh')
|
|
|
|
sh('./script.sh')
|
2020-04-21 19:04:45 +02:00
|
|
|
}
|
|
|
|
}
|
2020-04-03 16:17:28 +02:00
|
|
|
}
|