From ef4d6ae81b650dae49090f87f73855a38e7a0d0e Mon Sep 17 00:00:00 2001 From: Eric Downing Date: Wed, 23 Sep 2026 21:27:27 -0700 Subject: [PATCH 1/6] updated adding branch echo --- agone_jenkins | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/agone_jenkins b/agone_jenkins index 9a4239e..e3d0bcc 100644 --- a/agone_jenkins +++ b/agone_jenkins @@ -25,6 +25,7 @@ pipeline { steps { script { echo "Starting agone-full build..." + echo "The current branch is: ${env.BRANCH_NAME}" // 1. Clean previous Coverity intermediate directory sh 'rm -rf cov-int' @@ -70,7 +71,7 @@ pipeline { steps { script { echo "Starting agone-pr build..." - + echo "The current branch is: ${env.BRANCH_NAME}" // 1. Determine target branch and fetch changes def targetBranch = env.CHANGE_TARGET ?: 'main' sh "git fetch origin ${targetBranch}" From 1ab855a5db490d21fe2636e7723bb0c0213f9b0c Mon Sep 17 00:00:00 2001 From: Eric Downing Date: Tue, 29 Sep 2026 21:49:22 -0700 Subject: [PATCH 2/6] updated full build with bazel clean --- agone_jenkins | 3 +++ 1 file changed, 3 insertions(+) diff --git a/agone_jenkins b/agone_jenkins index e3d0bcc..369afc3 100644 --- a/agone_jenkins +++ b/agone_jenkins @@ -30,6 +30,9 @@ pipeline { // 1. Clean previous Coverity intermediate directory sh 'rm -rf cov-int' + // Clean Bazel outputs + sh 'bazel clean' + // 2. Run full Bazel build wrapped in cov-build // --spawn_strategy=standalone ensures Coverity intercepts compiler processes sh ''' From e9edfcd11aaaf8371b2fe239c7e2746df8f0f857 Mon Sep 17 00:00:00 2001 From: Eric Downing Date: Tue, 29 Sep 2026 21:58:30 -0700 Subject: [PATCH 3/6] fixed --- agone_jenkins | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/agone_jenkins b/agone_jenkins index 1124b91..8d8b13e 100644 --- a/agone_jenkins +++ b/agone_jenkins @@ -74,13 +74,9 @@ bazel build --spawn_strategy=standalone //:run steps { script { echo "Starting agone-pr build..." - echo "The current branch is: ${env.BRANCH_NAME}" -<<<<<<< HEAD -======= - ->>>>>>> origin/pullone // 1. Determine target branch and fetch changes def targetBranch = env.CHANGE_TARGET ?: 'main' + echo "The current branch is: ${env.BRANCH_NAME}" sh "git fetch origin ${targetBranch}" // 2. Identify changed files relative to the target branch From 0fb7051c934d4b8e3255774d8f099a7a8e4ca9e0 Mon Sep 17 00:00:00 2001 From: Eric Downing Date: Tue, 29 Sep 2026 22:00:29 -0700 Subject: [PATCH 4/6] moved print in branch build --- agone_jenkins | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/agone_jenkins b/agone_jenkins index 8d8b13e..1ba930c 100644 --- a/agone_jenkins +++ b/agone_jenkins @@ -74,9 +74,10 @@ bazel build --spawn_strategy=standalone //:run steps { script { echo "Starting agone-pr build..." + echo "The current branch is: ${env.BRANCH_NAME}" + // 1. Determine target branch and fetch changes def targetBranch = env.CHANGE_TARGET ?: 'main' - echo "The current branch is: ${env.BRANCH_NAME}" sh "git fetch origin ${targetBranch}" // 2. Identify changed files relative to the target branch From ef047dec214e963b78b7079e5b209b9bb1c66a1b Mon Sep 17 00:00:00 2001 From: Eric Downing Date: Tue, 29 Sep 2026 22:20:14 -0700 Subject: [PATCH 5/6] added bazel flag --- agone_jenkins | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agone_jenkins b/agone_jenkins index 1ba930c..9c1d736 100644 --- a/agone_jenkins +++ b/agone_jenkins @@ -36,7 +36,7 @@ COVERITY_URL = 'http://coverity.etechtips.com' // 2. Run full Bazel build wrapped in cov-build // --spawn_strategy=standalone ensures Coverity intercepts compiler processes sh ''' - cov-build --dir cov-int \ + cov-build --dir cov-int --bazel \ bazel build --spawn_strategy=standalone //:run ''' From f8c1ba37635be1d03f0130c181b9fbf945de391a Mon Sep 17 00:00:00 2001 From: Eric Downing Date: Tue, 29 Sep 2026 22:26:00 -0700 Subject: [PATCH 6/6] fixed url for Coverity Connect --- agone_jenkins | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agone_jenkins b/agone_jenkins index 9c1d736..a711060 100644 --- a/agone_jenkins +++ b/agone_jenkins @@ -2,7 +2,7 @@ pipeline { agent any environment { -COVERITY_URL = 'http://coverity.etechtips.com' +COVERITY_URL = 'https://coverity.etechtips.com' COVERITY_STREAM = 'agone-full' // Add Coverity binaries to PATH if not globally set on the Jenkins agent PATH = "/opt/coverity/analysis/bin:${env.PATH}"