Compare commits
12
Commits
1ab855a5db
...
d072b7c55f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d072b7c55f | ||
|
|
d31f8b1250 | ||
|
|
9f83d24389 | ||
|
|
a3f3c9a9c0 | ||
|
|
6fffbc3584 | ||
|
|
699b0858a8 | ||
|
|
b1b5a5a1fb | ||
|
|
c3451b24a5 | ||
|
|
a88b836a25 | ||
|
|
0d21c347c0 | ||
|
|
c0e8dd8e19 | ||
|
|
442c205f4d |
+6
-2
@@ -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}"
|
||||||
@@ -37,7 +37,7 @@ pipeline {
|
|||||||
// --spawn_strategy=standalone ensures Coverity intercepts compiler processes
|
// --spawn_strategy=standalone ensures Coverity intercepts compiler processes
|
||||||
sh '''
|
sh '''
|
||||||
cov-build --dir cov-int \
|
cov-build --dir cov-int \
|
||||||
bazel build --spawn_strategy=standalone //:run
|
bazel build --spawn_strategy=standalone //:run
|
||||||
'''
|
'''
|
||||||
|
|
||||||
// 3. Analyze captured code
|
// 3. Analyze captured code
|
||||||
@@ -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