Compare commits

..
3 Commits
Author SHA1 Message Date
ecdown 2527cc2a07 typo
agone-combined/pipeline/head This commit looks good
2026-09-29 23:30:20 -07:00
ecdown b8359a9f76 update interpolation
agone-combined/pipeline/head There was a failure building this commit
2026-09-29 23:26:03 -07:00
ecdown 90ca0c9dda updated storing intdir from nightly for reuse
agone-combined/pipeline/head There was a failure building this commit
2026-09-29 23:10:57 -07:00
+3 -12
View File
@@ -100,20 +100,11 @@ bazel build --spawn_strategy=standalone //:run
// 1. Determine target branch and fetch changes
def targetBranch = env.CHANGE_TARGET ?: 'main'
sh "git fetch origin ${targetBranch}"
sh """
git fetch origin \
+refs/heads/${targetBranch}:refs/remotes/origin/${targetBranch}
"""
def mergeBase = sh(
script: "git merge-base HEAD origin/${targetBranch}",
returnStdout: true
).trim()
echo "Merge base: ${mergeBase}"
// 2. Identify changed files relative to the target branch
def changedFiles = sh(
script: "git diff --name-only ${mergeBase} HEAD",
script: "git diff --name-only origin/${targetBranch}...HEAD",
returnStdout: true
).trim()