Jenkinsfile update

This commit is contained in:
Damian Michalski 2020-04-03 13:02:23 +02:00
parent 966f8d5bf8
commit 517147318c
2 changed files with 11 additions and 4 deletions

14
Jenkinsfile vendored
View File

@ -1,13 +1,19 @@
pipeline {
agent any
stages {
stage('Zad_1_5') {
stage('Checkout') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s452094/s452094-mlworkshops']]])
copyArtifacts fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
sh label: '', script: 'wc -l wikiniews_results.tsv > results/result.txt'
archive 'results/**'
}
}
stage('Copy artifacts') {
copyArtifacts filter: '*.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
}
stage('Shell') {
sh label: 'count lines', script: './count.sh'
}
stage('Archive') {
archive './**'
}
}
}

1
count.sh Executable file
View File

@ -0,0 +1 @@
wc -l wikiniews_results.tsv > result.txt