+1
-1
@@ -75,7 +75,7 @@ bazel build --spawn_strategy=standalone //:run
|
|||||||
script {
|
script {
|
||||||
echo "Starting agone-pr build..."
|
echo "Starting agone-pr build..."
|
||||||
echo "The current branch is: ${env.BRANCH_NAME}"
|
echo "The current branch is: ${env.BRANCH_NAME}"
|
||||||
|
|
||||||
// 1. Determine target branch and fetch changes
|
// 1. Determine target branch and fetch changes
|
||||||
def targetBranch = env.CHANGE_TARGET ?: 'main'
|
def targetBranch = env.CHANGE_TARGET ?: 'main'
|
||||||
sh "git fetch origin ${targetBranch}"
|
sh "git fetch origin ${targetBranch}"
|
||||||
|
|||||||
Reference in New Issue
Block a user