s437843-mlworkshops/Jenkinsfile

27 lines
844 B
Plaintext
Raw Normal View History

2020-04-03 14:41:39 +02:00
pipeline {
agent any
stages {
stage('Stage 1') {
steps {
2020-04-03 15:13:24 +02:00
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 {
2020-04-03 15:19:54 +02:00
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
2020-04-03 15:13:24 +02:00
}
}
stage('Stage 3') {
steps {
2020-04-03 16:35:23 +02:00
sh 'chmod +x script.sh'
sh label: '', script: './script.sh wikiniews_results.tsv'
2020-04-03 15:13:24 +02:00
}
}
stage('Stage 4') {
steps {
archiveArtifacts 'results.txt'
2020-04-03 14:41:39 +02:00
}
}
}
2020-04-03 15:19:54 +02:00
}