26 lines
655 B
Groovy
26 lines
655 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') {
|
|
steps {
|
|
copyArtifacts filter: '*.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
|
}
|
|
}
|
|
stage('Shell') {
|
|
steps {
|
|
sh label: 'count lines', script: './count.sh'
|
|
}
|
|
}
|
|
stage('Archive') {
|
|
steps {
|
|
archive './**'
|
|
}
|
|
}
|
|
}
|
|
}
|