diff --git a/agone_jenkins b/agone_jenkins index 9a4239e..97f1c6d 100644 --- a/agone_jenkins +++ b/agone_jenkins @@ -2,7 +2,7 @@ pipeline { agent any environment { - COVERITY_URL = 'http://sumo:8085' +COVERITY_URL = 'http://coverity.etechtips.com' COVERITY_STREAM = 'agone-full' // Add Coverity binaries to PATH if not globally set on the Jenkins agent PATH = "/opt/coverity/analysis/bin:${env.PATH}" @@ -33,7 +33,7 @@ pipeline { // --spawn_strategy=standalone ensures Coverity intercepts compiler processes sh ''' cov-build --dir cov-int \ - bazel build --spawn_strategy=standalone //:run +bazel build --spawn_strategy=standalone //:run ''' // 3. Analyze captured code diff --git a/bye.c b/bye.c index a94bbde..c61f27a 100644 --- a/bye.c +++ b/bye.c @@ -1,5 +1,9 @@ #include +// dummy code added int retval(int inputval) { - return inputval; + if (inputval >= 5 && inputval <=5) { + return inputval; + } + return inputval + 100; }