s426266-mlworkshops/Jenkinsfile

26 lines
694 B
Plaintext
Raw Normal View History

2020-04-03 11:18:06 +02:00
pipeline {
agent any
stages {
2020-04-03 11:44:28 +02:00
stage('Checkout') {
2020-04-03 11:18:06 +02:00
steps {
2020-04-03 11:44:28 +02:00
git 'https://git.wmi.amu.edu.pl/s426266/s426266-mlworkshops'
}
}
stage('Copy artifacts') {
steps {
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './'
}
}
stage('Count lines') {
steps{
2020-04-03 11:50:15 +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-03 11:18:06 +02:00
}
}
}
}