ci: Fix code coverage reports in Jenkins-CI

Change-Id: I5ea2d5699b7c2eac78a49df904f25da7fef3c14b
Refs: #3116
diff --git a/.jenkins.d/10-build.sh b/.jenkins.d/10-build.sh
index bb64511..d99f3c3 100755
--- a/.jenkins.d/10-build.sh
+++ b/.jenkins.d/10-build.sh
@@ -27,7 +27,7 @@
 sudo ./waf -j1 --color=yes distclean
 
 # Configure/build shared library in debug mode with examples without precompiled headers
-if has code-coverage $JOB_NAME; then
+if [[ "$JOB_NAME" == *"code-coverage" ]]; then
     COVERAGE="--with-coverage"
 fi
 ./waf -j1 --color=yes configure --debug --enable-shared --disable-static --with-tests --without-pch --with-examples $COVERAGE
diff --git a/.jenkins.d/30-coverage.sh b/.jenkins.d/30-coverage.sh
index 6a7b0a8..e6ecdf3 100755
--- a/.jenkins.d/30-coverage.sh
+++ b/.jenkins.d/30-coverage.sh
@@ -5,7 +5,7 @@
 JDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
 source "$JDIR"/util.sh
 
-if has code-coverage $JOB_NAME; then
+if [[ "$JOB_NAME" == *"code-coverage" ]]; then
   BASE="`pwd | sed -e 's|/|\\\/|g'`\\"
   (cd build && gcovr -x -f $BASE/src -r ../ -o coverage.xml -b ./)
 fi
diff --git a/.jenkins.d/README.md b/.jenkins.d/README.md
index 956ae18..4f5e930 100644
--- a/.jenkins.d/README.md
+++ b/.jenkins.d/README.md
@@ -27,4 +27,4 @@
   Possible values:
 
   * empty: default build process
-  * `code-coverage` (Linux OS is assumed): build process with code coverage analysis
+  * `<any-string-with-extra-job-description>code-coverage` (Linux OS is assumed): build process with code coverage analysis