From 3d46ba26e2f6904f128e094e99fa2fdf0e00abe8 Mon Sep 17 00:00:00 2001 From: Patrick Ziegler Date: Mon, 18 Nov 2024 19:26:58 +0100 Subject: [PATCH] Publish build results (e.g. compiler warnings) from Jenkins to GitHub This initial step is just about how to get the results to GitHub. In a later stage, those can the be further configured to have the build fail if it would introduce additional warnings. --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index 9abea4215..ebb86e21e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -98,6 +98,7 @@ BRANCH_NAME=${env.BRANCH_NAME} post { always { junit allowEmptyResults: true, testResults: '**/target/surefire-reports/*.xml' + discoverGitReferenceBuild referenceJob: 'build-classic/master' recordIssues publishAllIssues: true, tools: [java(), mavenConsole(), javaDoc()] }