hui
This commit is contained in:
parent
c0dc6d7bed
commit
308b8ec2c4
38
Jenkinsfile
vendored
38
Jenkinsfile
vendored
@ -1,29 +1,27 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
stages {
|
stages {
|
||||||
stage('checkout: Check out from version control') {
|
stage('checkoutGit') {
|
||||||
steps {
|
steps {
|
||||||
git branch: 'master',
|
git 'https://git.wmi.amu.edu.pl/s426274/s426274-mlworkshops'
|
||||||
url: 'https://git.wmi.amu.edu.pl/s426274/s426274-mlworkshops.git'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('copyArtifacts') {
|
stage('copyArtifacts') {
|
||||||
steps {
|
steps {
|
||||||
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './'
|
copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful(), target: './'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
stage('countLines') {
|
||||||
stage('Count lines'){
|
steps {
|
||||||
steps {
|
sh 'chmod 777 ./script.sh'
|
||||||
sh('chmod +x ./script.sh')
|
sh './script.sh'
|
||||||
sh('./script.sh')
|
}
|
||||||
}
|
}
|
||||||
|
stage('archiveArtifacts') {
|
||||||
|
steps {
|
||||||
|
archiveArtifacts 'countlines_result.txt'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
stage('Save result'){
|
}
|
||||||
steps {
|
|
||||||
archiveArtifacts 'lines_number.txt'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user