s437843-mlworkshops/Jenkinsfile
2020-04-03 19:10:58 +02:00

27 lines
857 B
Groovy

pipeline {
agent {dockerfile true}
stages {
stage('Stage 1') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s437843/s437843-mlworkshops']]])
}
}
stage('Stage 2') {
steps {
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
}
}
stage('Stage 3') {
steps {
sh 'chmod +x script.sh'
sh label: '', script: './script.sh wikiniews_results.tsv'
}
}
stage('Stage 4') {
steps {
archiveArtifacts 'results.txt'
}
}
}
}