we
This commit is contained in:
parent
6e43f5262c
commit
6ded7a1394
26
Jenkinsfile
vendored
26
Jenkinsfile
vendored
@ -1,25 +1,17 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
stages {
|
stages {
|
||||||
stage('checkout: Check out from version control') {
|
stage('Checkout') {
|
||||||
steps {
|
steps {
|
||||||
git branch: 'master',
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s426274/s426274-mlworkshops']]])
|
||||||
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',
|
}
|
||||||
filter: "wikiniews_results.tsv",
|
}
|
||||||
target: 'wikiniews_results.tsv',
|
stage('Count lines and metrics'){
|
||||||
fingerprintArtifacts: true,
|
|
||||||
projectName: 'ASR-eval',
|
|
||||||
selector: lastSuccessful()]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage('Count lines'){
|
|
||||||
steps {
|
steps {
|
||||||
sh('chmod +x ./script.sh')
|
sh('chmod +x ./script.sh')
|
||||||
sh('./script.sh')
|
sh('./script.sh')
|
||||||
@ -31,4 +23,4 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user