jjb: remove VPP coverity job 25/28725/1
authorDave Wallace <dwallacelf@gmail.com>
Wed, 9 Sep 2020 16:21:36 +0000 (16:21 +0000)
committerDave Wallace <dwallacelf@gmail.com>
Wed, 9 Sep 2020 16:21:36 +0000 (16:21 +0000)
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Change-Id: I7f5d1fec7a811908860816e8ba23c0a700dfadd5

jjb/scripts/vpp/coverity.sh [deleted file]
jjb/vpp/vpp.yaml

diff --git a/jjb/scripts/vpp/coverity.sh b/jjb/scripts/vpp/coverity.sh
deleted file mode 100644 (file)
index 47a316a..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/bash
-FILE="scan.txt"
-OUTPUT="output.txt"
-
-wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
-dpkg -i google-chrome-stable_current_amd64.deb || true
-apt-get install -f -y
-
-google-chrome --headless --disable-gpu -dump-dom --no-sandbox https://scan.coverity.com/projects/fd-io-vpp > $FILE
-
-grep -i '<dt>Newly detected</dt>' $FILE || exit 42
-
-NEW=$(grep -i -B 1 '<dt>Newly detected</dt>' $FILE | grep -Eo '[0-9]{1,4}')
-ELIM=$(grep -i -B 1 '<dt>Eliminated</dt>' $FILE | grep -Eo '[0-9]{1,4}')
-OUT=$(grep -i -B 1 '<dt>Outstanding</dt>' $FILE | grep -Eo '[0-9]{1,4}')
-
-#ls -lg $FILE
-#cat $FILE
-
-if [ "${OUT}" == "0" ]; then
-        echo 'Current outstanding issues are zero' > $OUTPUT
-        echo "Newly detected: $NEW" >> $OUTPUT
-               echo "Eliminated: $ELIM" >> $OUTPUT
-               echo "More details can be found at  https://scan.coverity.com/projects/fd-io-vpp/view_defects" >> $OUTPUT
-else
-        echo "Current number of outstanding issues are $OUT Failing job"
-        echo "Current number of outstanding issues are $OUT" > $OUTPUT
-        echo "Newly detected: $NEW" >> $OUTPUT
-               echo "Eliminated: $ELIM" >> $OUTPUT
-               echo "More details can be found at  https://scan.coverity.com/projects/fd-io-vpp/view_defects" >> $OUTPUT
-        exit 1
-fi
index b994ccf..2245a6c 100644 (file)
           branch: 'master'
           repo-stream-part: 'master'
 
-- project:
-    name: vpp-clang
-    jobs:
-      - 'vpp-coverity-{stream}'
-
-    project: 'vpp'
-    os:
-      - ubuntu1804:
-          repo-os-part: 'ubuntu.bionic.main'
-      - centos7:
-          repo-os-part: 'centos7'
-      - opensuse:
-          repo-os-part: 'opensuse'
-
-    stream:
-      - master:
-          branch: 'master'
-          repo-stream-part: 'master'
-
 - project:
     name: vpp-misc
     jobs:
       - fdio-infra-shiplogs:
           maven-version: 'mvn36'
 
-- job-template:
-    name: 'vpp-coverity-{stream}'
-
-    project-type: freestyle
-    node: 'ubuntu1804-us'
-    concurrent: true
-    archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
-
-    build-discarder:
-      daysToKeep: '{build-days-to-keep}'
-      numToKeep: '{build-num-to-keep}'
-      artifactDaysToKeep: '{build-artifact-days-to-keep}'
-      artifactNumToKeep: '{build-artifact-num-to-keep}'
-
-    parameters:
-      - project-parameter:
-          project: '{project}'
-      - gerrit-parameter:
-          branch: '{branch}'
-      - os-parameter:
-          os: 'ubuntu1804'
-      - repo-name-parameter:
-          repo-name: '{repo-stream-part}.ubuntu.bionic.main'
-      - stream-parameter:
-          stream: '{stream}'
-
-    scm:
-      - gerrit-trigger-scm:
-          credentials-id: 'jenkins-gerrit-credentials'
-          refspec: ''
-          choosing-strategy: 'gerrit'
-
-    wrappers:
-      - fdio-infra-wrappers:
-          build-timeout: '{build-timeout}'
-
-    triggers:
-      - timed: '0 14 * * *'
-
-    builders:
-      - shell:
-          command: !include-raw-escape: ../scripts/vpp/coverity.sh
-          unstable-return: 42
-
-    publishers:
-      - email-ext:
-          # yamllint disable-line rule:line-length
-          recipients: 'dwallacelf@gmail.com'
-          reply-to: ''
-          content-type: 'text'
-          subject: 'Coverity run passing as of $BUILD_TIMESTAMP'
-          # yamllint disable-line rule:line-length
-          body: |
-                Coverity run passing.
-
-                ${{FILE,path="output.txt"}}
-          failure: false
-          success: true
-      - email-ext:
-          # yamllint disable-line rule:line-length
-          recipients: 'dwalllacelf@gmail.com'
-          reply-to: ''
-          content-type: 'text'
-          subject: 'Coverity run UNSTABLE as of $BUILD_TIMESTAMP'
-          # yamllint disable-line rule:line-length
-          body: |
-                Coverity run UNSTABLE.
-
-                Something went wrong with daily scan.
-          failure: false
-          unstable: true
-      - email-ext:
-          # yamllint disable-line rule:line-length
-          recipients: 'vpp-dev@lists.fd.io'
-          reply-to: ''
-          content-type: 'text'
-          subject: 'Coverity run FAILED as of $BUILD_TIMESTAMP'
-          # yamllint disable-line rule:line-length
-          body: |
-                Coverity run failed today.
-
-                ${{FILE,path="output.txt"}}
-          failure: true
-      - email-ext:
-          # yamllint disable-line rule:line-length
-          recipients: 'vpp-dev@lists.fd.io'
-          reply-to: ''
-          content-type: 'text'
-          subject: 'Coverity run as of $BUILD_TIMESTAMP'
-          # yamllint disable-line rule:line-length
-          body: |
-                Coverity run fixed today.
-
-                ${{FILE,path="output.txt"}}
-          failure: false
-          fixed: true
-      - fdio-infra-shiplogs:
-          maven-version: 'mvn36'
-
 - job-template:
     name: 'vpp-merge-{stream}-{os}'