Dodaj 'Jenkinsfile'
This commit is contained in:
parent
6364db4745
commit
f1b09f1cd7
23
Jenkinsfile
vendored
Normal file
23
Jenkinsfile
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
pipeline {
|
||||
agent {dockerfile true}
|
||||
stages {
|
||||
|
||||
stage('Copy artifacts'){
|
||||
steps {
|
||||
copyArtifacts filter: filter: 'wer.txt, srr.txt', fingerprintArtifacts: true, projectName: 's416226-metrics', selector: lastSuccessful()
|
||||
}
|
||||
}
|
||||
stage('Plot'){
|
||||
steps {
|
||||
sh('chmod +x ./plot.sh')
|
||||
sh('./plot.sh')
|
||||
}
|
||||
}
|
||||
stage('Save results'){
|
||||
steps {
|
||||
archiveArtifacts 'srr.png'
|
||||
archiveArtifacts 'wer.png'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user