Add config nonrtric-plt-dmaapmediatorproducer repo
Issue-ID: NONRTRIC-714
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: Idf3a70dc8e7c367f47aed0f0850b55d5e20f7c60
diff --git a/jjb/nonrtric-plt-dmaapmediatorproducer/prescan-dmaapmediatorproducer-ubuntu.sh b/jjb/nonrtric-plt-dmaapmediatorproducer/prescan-dmaapmediatorproducer-ubuntu.sh
new file mode 100644
index 0000000..a45e0ab
--- /dev/null
+++ b/jjb/nonrtric-plt-dmaapmediatorproducer/prescan-dmaapmediatorproducer-ubuntu.sh
@@ -0,0 +1,30 @@
+#!/bin/sh
+##############################################################################
+#
+# Copyright (C) 2021: Nordix Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+##############################################################################
+
+echo "--> prescan-dmaapmediatorproducer-ubuntu.sh"
+
+set -ex
+
+# Assumes ubuntu - uses apt-get
+sudo apt-get update
+
+# build script execution
+bash ./build-dmaapmediatorproducer-ubuntu.sh
+
+echo "--> prescan-dmaapmediatorproducer-ubuntu.sh ends"