This commit is contained in:
Ufnow 2020-04-21 21:05:18 +02:00
parent 6ded7a1394
commit c0cd988833

25
Jenkinsfile vendored
View File

@ -1,17 +1,24 @@
pipeline {
agent any
stages {
stage('Checkout') {
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 artifacts'){
steps {
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
}
}
stage('Count lines and metrics'){
stage('Copy Archive') {
steps {
script {
step ([$class: 'CopyArtifact',
filter: "wikiniews_results.tsv",
target: 'wikiniews_results.tsv',
fingerprintArtifacts: true,
projectName: 'ASR-eval', selector: lastSuccessful()]);
}
}
}
stage('Count lines'){
steps {
sh('chmod +x ./script.sh')
sh('./script.sh')
@ -23,4 +30,4 @@ pipeline {
}
}
}
}
}