Static code analysis for ric-plt-utils
[ci-management.git] / jjb / ric-plt-utils / cmake-sonarqube.sh
diff --git a/jjb/ric-plt-utils/cmake-sonarqube.sh b/jjb/ric-plt-utils/cmake-sonarqube.sh
new file mode 100644 (file)
index 0000000..891f1c3
--- /dev/null
@@ -0,0 +1,17 @@
+#!/bin/bash\r
+# SPDX-License-Identifier: EPL-1.0\r
+##############################################################################\r
+# Copyright (c) 2020 HCL Technologies and others.\r
+#\r
+# All rights reserved. This program and the accompanying materials\r
+# are made available under the terms of the Eclipse Public License v1.0\r
+# which accompanies this distribution, and is available at\r
+# http://www.eclipse.org/legal/epl-v10.html\r
+##############################################################################\r
+echo "---> cmake-sonarqube.sh"\r
+cd mgxapp\r
+docker build -t ric-plt-utils -f Dockerfile.build .\r
+docker create --name  ric-plt-utils ric-plt-utils\r
+docker cp ric-plt-utils:/playpen/build/test/ .\r
+docker rm ric-plt-utils\r
+echo "---> cmake-sonarqube.sh ends"
\ No newline at end of file