26 lines
733 B
Groovy
26 lines
733 B
Groovy
pipeline {
|
|
agent any
|
|
stages {
|
|
stage('checkout: Check out from version control') {
|
|
steps {
|
|
git 'https://git.wmi.amu.edu.pl/s152483/s152483-mlworkshops'
|
|
}
|
|
}
|
|
stage('copy Artifacts') {
|
|
steps {
|
|
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './'
|
|
}
|
|
}
|
|
stage('count lines') {
|
|
steps {
|
|
sh 'chmod 777 ./cl.sh'
|
|
sh './cl.sh'
|
|
}
|
|
}
|
|
stage('Archive Artifacts') {
|
|
steps {
|
|
archiveArtifacts 'cl_result.txt'
|
|
}
|
|
}
|
|
}
|
|
} |