25 lines
678 B
Groovy
25 lines
678 B
Groovy
pipeline {
|
|
agent any
|
|
stages {
|
|
stage('Checkout') {
|
|
steps {
|
|
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{
|
|
sh label: '', script: './count_lines.sh'
|
|
}
|
|
}
|
|
stage('Archive artifacts') {
|
|
steps{
|
|
archiveArtifacts 'count_lines.txt'
|
|
}
|
|
}
|
|
}
|
|
} |