s152483-mlworkshops/Jenkinsfile

26 lines
733 B
Plaintext
Raw Normal View History

2020-04-03 11:32:48 +02:00
pipeline {
2020-04-03 11:51:05 +02:00
agent any
stages {
stage('checkout: Check out from version control') {
steps {
git 'https://git.wmi.amu.edu.pl/s152483/s152483-mlworkshops'
}
}
2020-04-03 12:07:34 +02:00
stage('copy Artifacts') {
steps {
2020-04-03 12:11:30 +02:00
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './'
2020-04-03 12:07:34 +02:00
}
}
2020-04-03 12:39:23 +02:00
stage('count lines') {
steps {
2020-04-03 12:42:21 +02:00
sh 'chmod 777 ./cl.sh'
2020-04-03 12:39:23 +02:00
sh './cl.sh'
}
}
2020-04-03 12:55:31 +02:00
stage('Archive Artifacts') {
steps {
archiveArtifacts 'cl_result.txt'
}
}
2020-04-03 11:51:05 +02:00
}
2020-04-03 11:32:48 +02:00
}