This commit is contained in:
Ufnow 2020-04-21 20:33:28 +02:00
parent 8c77a253d6
commit a097f9913e

14
Jenkinsfile vendored
View File

@ -3,20 +3,24 @@ pipeline {
stages {
stage('checkout: Check out from version control') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s426274/s426274-mlworkshops']]])
git branch: 'master',
url: 'https://git.wmi.amu.edu.pl/s426274/s426274-mlworkshops.git'
}
}
stage('Copy Archive') {
steps {
script {
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
copyArtifacts excludes: 'wikinews_results.tsv', fingerprintArtifacts: true, projectName: 's426274-metrics', selector: lastSuccessful()
step ([$class: 'CopyArtifact',
projectName: 'ASR-eval',
filter: "wikiniews_results.tsv",
target: 'wikiniews_results.tsv']);
}
}
}
stage('Count lines'){
stage('Count lines'){
steps {
sh label: 'metrics', script: './script.sh'
sh('chmod +x ./script.sh')
sh('./script.sh')
}
}
}