This commit is contained in:
+5
-1
@@ -2,7 +2,7 @@ pipeline {
|
|||||||
agent any
|
agent any
|
||||||
|
|
||||||
environment {
|
environment {
|
||||||
COVERITY_URL = 'http://sumo:8085'
|
COVERITY_URL = 'http://coverity.etechtips.com'
|
||||||
COVERITY_STREAM = 'agone-full'
|
COVERITY_STREAM = 'agone-full'
|
||||||
// Add Coverity binaries to PATH if not globally set on the Jenkins agent
|
// Add Coverity binaries to PATH if not globally set on the Jenkins agent
|
||||||
PATH = "/opt/coverity/analysis/bin:${env.PATH}"
|
PATH = "/opt/coverity/analysis/bin:${env.PATH}"
|
||||||
@@ -75,6 +75,10 @@ pipeline {
|
|||||||
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}"
|
||||||
|
<<<<<<< HEAD
|
||||||
|
=======
|
||||||
|
|
||||||
|
>>>>>>> origin/pullone
|
||||||
// 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