s452094-mlworkshops/Jenkinsfile

20 lines
610 B
Groovy

pipeline {
agent any
stages {
stage('Checkout') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s452094/s452094-mlworkshops']]])
}
}
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 './**'
}
}
}