Zaktualizuj 'Jenkinsfile'
This commit is contained in:
parent
f39d9dbd50
commit
bab6330027
41
Jenkinsfile
vendored
41
Jenkinsfile
vendored
@ -1,27 +1,28 @@
|
||||
pipeline {
|
||||
agent {dockerfile true}
|
||||
stages {
|
||||
stage('Checkout') {
|
||||
steps {
|
||||
agent { dockerfile true }
|
||||
|
||||
stages {
|
||||
stage('Checkout') {
|
||||
steps {
|
||||
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s416226/s416226-plots']]])
|
||||
}
|
||||
}
|
||||
stage('Copy artifacts'){
|
||||
steps {
|
||||
}
|
||||
}
|
||||
stage('Copy artifacts'){
|
||||
steps {
|
||||
copyArtifacts filter: filter: 'wer.txt, srr.txt', fingerprintArtifacts: true, projectName: 's416226-metrics', selector: lastSuccessful()
|
||||
}
|
||||
}
|
||||
stage('Plot'){
|
||||
steps {
|
||||
}
|
||||
}
|
||||
stage('Plot'){
|
||||
steps {
|
||||
sh('chmod +x ./plot.sh')
|
||||
sh('./plot.sh')
|
||||
}
|
||||
}
|
||||
stage('Save results'){
|
||||
steps {
|
||||
}
|
||||
}
|
||||
stage('Save results'){
|
||||
steps {
|
||||
archiveArtifacts 'srr.png'
|
||||
archiveArtifacts 'wer.png'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user