From 9fa2c28dc2d701b7b2cc90d4282f05ee1a221943 Mon Sep 17 00:00:00 2001 From: Mick Semb Wever Date: Sat, 23 Jan 2021 11:18:46 +0100 Subject: [PATCH] Jenkins builds to provide link to nightlies archive, and remove the Jenkins plaintext reports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit patch by Mick Semb Wever; reviewed by Tomek Łasica for CASSANDRA-16401 --- .jenkins/Jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.jenkins/Jenkinsfile b/.jenkins/Jenkinsfile index aef9661092..e03366bda0 100644 --- a/.jenkins/Jenkinsfile +++ b/.jenkins/Jenkinsfile @@ -232,17 +232,17 @@ ${CHANGES} Failed Tests: ${FAILED_TESTS,maxTests=500,showMessage=false,showStack=false} ------------------------------------------------------------------------------- -${FILE,path="cassandra-test-report.txt"} +For complete test report and logs see https://nightlies.apache.org/cassandra/${JOB_NAME}/${BUILD_NUMBER}/ ''' } sh "echo \"cassandra-builds at: `git -C cassandra-builds log -1 --pretty=format:'%h %an %ad %s'`\" > builds.head" sh "find . -type f -name \\*.head -exec cat {} \\;" - sh "xz cassandra-test-report.txt TESTS-TestSuites.xml" + sh "xz TESTS-TestSuites.xml" + sh "echo \"For test report and logs see https://nightlies.apache.org/cassandra/${JOB_NAME}/${BUILD_NUMBER}/\"" } post { always { - archiveArtifacts artifacts: 'cassandra-test-report.txt.xz', fingerprint: true - sshPublisher(publishers: [sshPublisherDesc(configName: 'Nightlies', transfers: [sshTransfer(remoteDirectory: 'cassandra/${JOB_NAME}/${BUILD_NUMBER}/', sourceFiles: 'cassandra-test-report.txt.xz, TESTS-TestSuites.xml.xz')])]) + sshPublisher(publishers: [sshPublisherDesc(configName: 'Nightlies', transfers: [sshTransfer(remoteDirectory: 'cassandra/${JOB_NAME}/${BUILD_NUMBER}/', sourceFiles: 'TESTS-TestSuites.xml.xz')])]) } } }