This commit is contained in:
Ufnow 2020-04-21 19:47:35 +02:00
parent 19471c02ca
commit 1d54a56df2
2 changed files with 8 additions and 16 deletions

18
Jenkinsfile vendored
View File

@ -7,23 +7,15 @@ pipeline {
url: 'https://git.wmi.amu.edu.pl/s426274/s426274-mlworkshops.git' url: 'https://git.wmi.amu.edu.pl/s426274/s426274-mlworkshops.git'
} }
} }
stage('Copy Archive') { stage('Copy artifacts'){
steps { steps {
script { copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
step ([$class: 'CopyArtifact',
projectName: 'ASR-eval',
filter: "wikiniews_results.tsv",
selector: lastSuccessful(),
fingerprintArtifacts: true,
target: 'wikiniews_results.tsv']);
} }
} }
} stage('Count lines and metrics'){
stage('Count lines'){
steps { steps {
sh('chmod +x ./script.bat') sh('chmod +x ./script.sh')
sh('./script.bat') sh('./script.sh')
}
} }
} }
} }