s426086-mlworkshops/Jenkinsfile
2020-04-18 17:27:22 +00:00

26 lines
740 B
Groovy

pipeline {
agent { dockerfile true }
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 {
archiveArtifacts 'countlines_result.txt'
}
}
}
}