s407599-mlworkshops/Jenkinsfile

26 lines
844 B
Plaintext
Raw Normal View History

2020-04-03 10:56:17 +02:00
pipeline {
2020-04-03 12:50:27 +02:00
agent { dockerfile true }
2020-04-03 10:56:17 +02:00
stages {
2020-04-03 12:59:43 +02:00
stage('Checkout') {
2020-04-03 10:56:17 +02:00
steps {
2020-04-03 12:39:57 +02:00
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s407599/s407599-mlworkshops']]])
2020-04-03 12:59:43 +02:00
}
}
stage('copyArtifacts') {
steps {
2020-04-03 12:39:57 +02:00
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval/'
2020-04-03 12:59:43 +02:00
}
}
stage('Shell script') {
steps {
2020-04-03 12:50:27 +02:00
sh label: '', script: './script.sh wikiniews_results.tsv'
2020-04-03 12:59:43 +02:00
}
}
stage('archiveArtifacts') {
steps {
2020-04-03 12:39:57 +02:00
archiveArtifacts 'results.txt'
2020-04-03 10:56:17 +02:00
}
}
}
}