diff options
author | Dave Wallace <dwallacelf@gmail.com> | 2020-09-09 16:21:36 +0000 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2020-09-09 16:21:36 +0000 |
commit | 8679b9da45f922fd89d005323ab3bfc6d4bdbb2a (patch) | |
tree | ed0fccf3df1e6dee79c58e3cadbaaf9dd2b817e1 /jjb/scripts/vpp | |
parent | f08206570e268224136e9427fd4d92842fad0be4 (diff) |
jjb: remove VPP coverity job
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Change-Id: I7f5d1fec7a811908860816e8ba23c0a700dfadd5
Diffstat (limited to 'jjb/scripts/vpp')
-rw-r--r-- | jjb/scripts/vpp/coverity.sh | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/jjb/scripts/vpp/coverity.sh b/jjb/scripts/vpp/coverity.sh deleted file mode 100644 index 47a316a89..000000000 --- a/jjb/scripts/vpp/coverity.sh +++ /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 |