first commit
This commit is contained in:
commit
af1fcfb1a7
26
Jenkinsfile
vendored
Normal file
26
Jenkinsfile
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
3
count_lines.sh
Normal file
3
count_lines.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
wc -l wikiniews_results.tsv > counted_lines.txt
|
Loading…
Reference in New Issue
Block a user