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'
}
}
stage('Copy Archive') {
stage('Copy artifacts'){
steps {
script {
step ([$class: 'CopyArtifact',
projectName: 'ASR-eval',
filter: "wikiniews_results.tsv",
selector: lastSuccessful(),
fingerprintArtifacts: true,
target: 'wikiniews_results.tsv']);
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
}
}
}
stage('Count lines'){
stage('Count lines and metrics'){
steps {
sh('chmod +x ./script.bat')
sh('./script.bat')
}
sh('chmod +x ./script.sh')
sh('./script.sh')
}
}
}