moved print in branch build
agone-combined/pipeline/head There was a failure building this commit

This commit is contained in:
2026-09-29 22:00:29 -07:00
parent e9edfcd11a
commit 0fb7051c93
+2 -1
View File
@@ -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