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

17
Jenkinsfile vendored
View File

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