diff --git a/agone_jenkins b/agone_jenkins index c002808..1ba930c 100644 --- a/agone_jenkins +++ b/agone_jenkins @@ -75,7 +75,7 @@ bazel build --spawn_strategy=standalone //:run 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}"