s452094-mlworkshops/Jenkinsfile

26 lines
695 B
Groovy

pipeline {
agent { dockerfile true }
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') {
steps {
copyArtifacts filter: '*.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
}
}
stage('Shell') {
steps {
sh label: 'count lines', script: './count.sh'
}
}
stage('Archive artifacts') {
steps {
archiveArtifacts 'result.txt'
}
}
}
}