fix
This commit is contained in:
parent
19471c02ca
commit
1d54a56df2
24
Jenkinsfile
vendored
24
Jenkinsfile
vendored
@ -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 {
|
|
||||||
script {
|
|
||||||
step ([$class: 'CopyArtifact',
|
|
||||||
projectName: 'ASR-eval',
|
|
||||||
filter: "wikiniews_results.tsv",
|
|
||||||
selector: lastSuccessful(),
|
|
||||||
fingerprintArtifacts: true,
|
|
||||||
target: 'wikiniews_results.tsv']);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage('Count lines'){
|
|
||||||
steps {
|
steps {
|
||||||
sh('chmod +x ./script.bat')
|
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
||||||
sh('./script.bat')
|
}
|
||||||
|
}
|
||||||
|
stage('Count lines and metrics'){
|
||||||
|
steps {
|
||||||
|
sh('chmod +x ./script.sh')
|
||||||
|
sh('./script.sh')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user