Update 'Jenkinsfile'

This commit is contained in:
Eryka Przewoźnik 2019-04-26 09:28:35 +00:00
parent 7e3bca18f0
commit 23b7fa9ead

39
Jenkinsfile vendored
View File

@ -1,16 +1,29 @@
pipeline {
agent any
stages {
stage('Stage 1') {
steps {
copyArtifacts filter: '*', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
agent any
stages {
stage('Stage 1') {
steps {
copyArtifacts filter: '*', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
}
}
stage('Stage 2') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '8cdbf19a-e62d-4807-9112-bc7a8d225074', url: 'https://git.wmi.amu.edu.pl/s441391/s441391-mlworkshops']]])
}
}
stage('Stage 3') {
steps {
sh label: '', script: 'wc -l wikiniews_results.tsv > wyniki.txt'
}
}
stage('Stage 4') {
steps {
archiveArtifacts 'wyniki.txt'
}
}
}
stage('Stage 2') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '8cdbf19a-e62d-4807-9112-bc7a8d225074', url: 'https://git.wmi.amu.edu.pl/s441391/s441391-mlworkshops']]])
sh label: '', script: 'wc -l wikiniews_results.tsv > wyniki.txt'
}
}
}
}
}