28 lines
712 B
Groovy
28 lines
712 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 {
|
|
step ([$class: 'CopyArtifact',
|
|
projectName: 'ASR-eval',
|
|
filter: "wikiniews_results.tsv",
|
|
selector: lastSuccessful(),
|
|
target: 'wikiniews_results.tsv']);
|
|
}
|
|
}
|
|
}
|
|
stage('Count lines'){
|
|
steps {
|
|
sh('chmod +x ./script.sh')
|
|
sh('./script.sh')
|
|
}
|
|
}
|
|
}
|
|
} |