26 lines
743 B
Plaintext
26 lines
743 B
Plaintext
|
pipeline {
|
||
|
agent { dockerfile true }
|
||
|
stages {
|
||
|
stage('checkoutGit') {
|
||
|
steps {
|
||
|
git 'https://git.wmi.amu.edu.pl/s432211/s432211-mlworkshops'
|
||
|
}
|
||
|
}
|
||
|
stage('copyArtifacts') {
|
||
|
steps {
|
||
|
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './'
|
||
|
}
|
||
|
}
|
||
|
stage('countLines') {
|
||
|
steps {
|
||
|
sh 'chmod 777 ./count_lines.sh'
|
||
|
sh './count_lines.sh'
|
||
|
}
|
||
|
}
|
||
|
stage('archiveArtifacts') {
|
||
|
steps {
|
||
|
archiveArtifacts 'count_lines_result.txt'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|