s426274-mlworkshops/Jenkinsfile
2020-04-21 22:00:40 +02:00

28 lines
756 B
Groovy

pipeline {
agent any
stages {
stage('checkoutGit') {
steps {
git 'https://git.wmi.amu.edu.pl/s426274/s426274-mlworkshops'
}
}
stage('copyArtifacts') {
steps {
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: '/var/lib/jenkins/workspace/s426274-metrics'
}
}
stage('countLines') {
steps {
sh 'chmod 777 ./script.sh'
sh './script.sh'
}
}
stage('archiveArtifacts') {
steps {
archiveArtifacts 'countlines_result.txt'
}
}
}
}