sdf
This commit is contained in:
parent
8c77a253d6
commit
a097f9913e
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
@ -3,20 +3,24 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage('checkout: Check out from version control') {
|
stage('checkout: Check out from version control') {
|
||||||
steps {
|
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') {
|
stage('Copy Archive') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
step ([$class: 'CopyArtifact',
|
||||||
copyArtifacts excludes: 'wikinews_results.tsv', fingerprintArtifacts: true, projectName: 's426274-metrics', selector: lastSuccessful()
|
projectName: 'ASR-eval',
|
||||||
|
filter: "wikiniews_results.tsv",
|
||||||
|
target: 'wikiniews_results.tsv']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Count lines'){
|
stage('Count lines'){
|
||||||
steps {
|
steps {
|
||||||
sh label: 'metrics', script: './script.sh'
|
sh('chmod +x ./script.sh')
|
||||||
|
sh('./script.sh')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user