We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0343e06 + 07e72b3 commit 547b8cfCopy full SHA for 547b8cf
.jenkins/modules/Test/Test.groovy
@@ -3,8 +3,9 @@ MPLPostStep('always') {
3
}
4
5
MPLPostStep('failure') {
6
- echo "There are test failures, archiving server log"
7
- archiveArtifacts artifacts: "./${getPayaraDirectoryName}/glassfish/domains/${getDomainName()}/logs/server.log"
+ echo "There are test failures, archiving server logs to ${CFG.suite.suite_name}-Logs.zip"
+ sh "cp -R ./${getPayaraDirectoryName(CFG.'build.version')}/glassfish/domains/${CFG.domain_name}/logs ./${CFG.suite.suite_name}-Logs"
8
+ archiveArtifacts artifacts: "${CFG.suite.suite_name}-Logs/**/*.*"
9
10
11
withMaven(jdk: CFG.jdk, options: [artifactsPublisher(disabled: true)]) {
0 commit comments