sdf
This commit is contained in:
parent
8c77a253d6
commit
a097f9913e
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@ -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'){
|
||||
steps {
|
||||
sh label: 'metrics', script: './script.sh'
|
||||
sh('chmod +x ./script.sh')
|
||||
sh('./script.sh')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user