2020-04-03 16:17:28 +02:00
|
|
|
pipeline {
|
2020-04-21 22:13:40 +02:00
|
|
|
agent { dockerfile true }
|
|
|
|
stages {
|
2020-04-21 21:55:57 +02:00
|
|
|
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:13:40 +02:00
|
|
|
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './'
|
2020-04-21 21:55:57 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('countLines') {
|
|
|
|
steps {
|
2020-04-21 22:14:59 +02:00
|
|
|
sh 'chmod 777 ./script.sh'
|
|
|
|
sh './script.sh'
|
2020-04-21 21:55:57 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
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
|
|
|
|