+case "$BUILD_TYPE" in
+maven)
+ cov-configure --java
+ cov-build --dir "$RESULTS_DIR" $COVERITY_SCAN_BUILD_OPTIONS "$MVN_BIN" \
+ -s "$MVN_SETTINGS" \
+ -Dmaven.repo.local="$WORKSPACE/.repository" \
+ -Dmaven.compiler.fork=true \
+ -Dmaven.compiler.forceJavaCompilerUse=true \
+ -Dmaven.test.skip=true \
+ -DskipTests \
+ clean verify
+ ;;
+autotools)
+ # Prepare build dir for autotools based projects
+ if [ -f "./bootstrap" ]; then
+ ./bootstrap
+ ./configure $CONF_OPTS
+ fi
+
+ cov-build --dir "$RESULTS_DIR" $COVERITY_SCAN_BUILD_OPTIONS make -j"$NPROC" V=1
+ ;;
+linux-rseq)
+ make defconfig
+ cov-build --dir "$RESULTS_DIR" $COVERITY_SCAN_BUILD_OPTIONS make -j"$NPROC" kernel/rseq.o kernel/cpu_opv.o V=1
+ ;;
+*)
+ echo "Unsupported build type: $BUILD_TYPE"
+ exit 1
+ ;;
+esac
+
+
+