s426266-mlworkshops/Jenkinsfile

35 lines
947 B
Plaintext
Raw Permalink Normal View History

2020-04-03 11:18:06 +02:00
pipeline {
2020-04-03 11:56:33 +02:00
agent { dockerfile true }
2020-04-03 11:18:06 +02:00
stages {
2020-04-03 11:44:28 +02:00
stage('Checkout') {
2020-04-03 11:18:06 +02:00
steps {
2020-04-23 11:21:42 +02:00
git 'https://git.wmi.amu.edu.pl/s426266/s426266-mlworkshops'
2020-04-03 11:44:28 +02:00
}
}
stage('Copy artifacts') {
steps {
2020-04-23 11:21:42 +02:00
copyArtifacts fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
2020-04-03 11:44:28 +02:00
}
}
stage('Count lines') {
steps{
2020-04-23 11:21:42 +02:00
sh('chmod +x ./count_lines.sh')
2020-04-03 11:48:13 +02:00
sh('./count_lines.sh')
2020-04-03 11:44:28 +02:00
}
}
stage('Archive artifacts') {
steps{
archiveArtifacts 'count_lines.txt'
2020-04-23 11:21:42 +02:00
archiveArtifacts 'wikiniews_results.tsv'
archiveArtifacts 'wer.txt'
archiveArtifacts 'srr.txt'
2020-04-03 11:18:06 +02:00
}
}
2020-04-23 11:45:35 +02:00
stage('Build plots') {
steps {
build 's426266-plots'
}
}
2020-04-03 11:18:06 +02:00
}
}