24 lines
613 B
Groovy
24 lines
613 B
Groovy
pipeline {
|
|
agent any
|
|
stages {
|
|
stage('checkout: Check out from version control') {
|
|
steps {
|
|
git branch: 'master',
|
|
url: 'https://git.wmi.amu.edu.pl/s426274/s426274-mlworkshops.git'
|
|
}
|
|
}
|
|
stage('Copy Archive') {
|
|
steps {
|
|
script {
|
|
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful()
|
|
}
|
|
}
|
|
}
|
|
stage('Count lines'){
|
|
steps {
|
|
sh('chmod +x ./countLines.sh')
|
|
sh('./countLines.sh')
|
|
}
|
|
}
|
|
}
|
|
} |