2020-04-03 16:17:28 +02:00
|
|
|
pipeline {
|
2020-04-21 21:22:15 +02:00
|
|
|
agent any
|
2020-04-21 21:55:57 +02:00
|
|
|
stages {
|
|
|
|
stage('checkoutGit') {
|
2020-04-03 16:17:28 +02:00
|
|
|
steps {
|
2020-04-21 21:55:57 +02:00
|
|
|
git 'https://git.wmi.amu.edu.pl/s426274/s426274-mlworkshops'
|
2020-04-03 16:17:28 +02:00
|
|
|
}
|
|
|
|
}
|
2020-04-21 21:52:38 +02:00
|
|
|
stage('copyArtifacts') {
|
2020-04-21 21:55:57 +02:00
|
|
|
steps {
|
2020-04-21 22:01:57 +02:00
|
|
|
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: '/s426274-metrics'
|
2020-04-21 21:55:57 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('countLines') {
|
|
|
|
steps {
|
|
|
|
sh 'chmod 777 ./script.sh'
|
|
|
|
sh './script.sh'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('archiveArtifacts') {
|
|
|
|
steps {
|
|
|
|
archiveArtifacts 'countlines_result.txt'
|
|
|
|
}
|
|
|
|
}
|
2020-04-21 20:44:36 +02:00
|
|
|
}
|
2020-04-21 21:55:57 +02:00
|
|
|
}
|
2020-04-21 21:44:52 +02:00
|
|
|
|