s426086-mlworkshops/Jenkinsfile

26 lines
724 B
Plaintext
Raw Normal View History

2020-04-18 17:08:53 +02:00
pipeline {
2020-04-18 18:28:08 +02:00
agent any
2020-04-18 18:26:02 +02:00
stages {
stage('checkoutGit') {
steps {
git 'https://git.wmi.amu.edu.pl/s426086/s426086-mlworkshops'
}
}
stage('copyArtifacts') {
steps {
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './'
}
}
stage('countLines') {
steps {
sh 'chmod 777 ./countlines.sh'
sh './countlines.sh'
}
}
stage('archiveArtifacts') {
steps {
2020-04-18 18:29:21 +02:00
archiveArtifacts 'countlines_result.txt'
2020-04-18 18:26:02 +02:00
}
}
}
}