Commit e6ae0008 authored by Harald Sitter's avatar Harald Sitter

archive the wok relative

previously we'd have to dig into wok to get to the wok's artifacts, since
they are the primary artifacts that is fairly daft though. by diring
into the wok first we can archive them into the root of the artifacts dir
parent 4d94c67d
......@@ -48,7 +48,7 @@ fancyNode('openqa') {
}
} finally {
dir('metadata') { archiveArtifacts '*' }
archiveArtifacts 'wok/testresults/*, wok/ulogs/*, wok/video.*'
dir('wok') { archiveArtifacts allowEmptyArchive: true, artifacts: 'testresults/*, ulogs/*, video.*' }
junit 'junit/*'
sh 'bin/contain.rb chown -R jenkins .'
}
......
......@@ -38,7 +38,7 @@ fancyNode('openqa') {
}
} finally {
dir('metadata') { archiveArtifacts '*' }
archiveArtifacts 'wok/testresults/*, wok/ulogs/*, wok/video.*'
dir('wok') { archiveArtifacts allowEmptyArchive: true, artifacts: 'testresults/*, ulogs/*, video.*' }
junit 'junit/*'
sh 'bin/contain.rb chown -R jenkins .'
}
......
......@@ -38,7 +38,7 @@ fancyNode('openqa') {
}
} finally {
dir('metadata') { archiveArtifacts '*' }
archiveArtifacts 'wok/testresults/*, wok/ulogs/*, wok/video.*'
dir('wok') { archiveArtifacts allowEmptyArchive: true, artifacts: 'testresults/*, ulogs/*, video.*' }
junit 'junit/*'
sh 'bin/contain.rb chown -R jenkins .'
cleanWs()
......
......@@ -37,7 +37,7 @@ fancyNode('openqa') {
}
} finally {
dir('metadata') { archiveArtifacts '*' }
archiveArtifacts 'wok/testresults/*, wok/ulogs/*, wok/video.*'
dir('wok') { archiveArtifacts allowEmptyArchive: true, artifacts: 'testresults/*, ulogs/*, video.*' }
junit 'junit/*'
sh 'bin/contain.rb chown -R jenkins .'
}
......
......@@ -35,7 +35,7 @@ fancyNode('openqa') {
}
} finally {
dir('metadata') { archiveArtifacts '*' }
archiveArtifacts allowEmptyArchive: true, artifacts: 'wok/testresults/*, wok/ulogs/*, wok/video.*'
dir('wok') { archiveArtifacts allowEmptyArchive: true, artifacts: 'testresults/*, ulogs/*, video.*' }
junit 'junit/*'
}
}
......
......@@ -63,7 +63,7 @@ class JUnit
end
def artifact_url(artifact)
"#{BUILD_URL}/artifact/wok/testresults/#{artifact}"
"#{BUILD_URL}/artifact/testresults/#{artifact}"
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment