This commit is contained in:
+2
-1
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user