s416178-mlworkshops/Jenkinsfile
2020-04-03 11:38:08 +02:00

28 lines
691 B
Groovy

pipeline {
agent any
stages {
stage('checkout: Check out from version control') {
steps {
git 'https://git.wmi.amu.edu.pl/s416178/s416178-mlworkshops'
}
}
stage('copyArtifacts') {
steps {
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './'
}
}
stage('sh: Shell Script') {
steps {
sh chmod +x ./shell_script.sh
sh('./shell_script.sh')
}
}
stage('archiveArtifacts') {
steps {
archiveArtifacts 'result.log'
}
}
}
}