Refactor: JJB code
[ci-management.git] / jjb / ric-plt-utils / cmake-sonarqube.sh
1 #!/bin/bash
2 # SPDX-License-Identifier: EPL-1.0
3 ##############################################################################
4 # Copyright (c) 2020 HCL Technologies and others.
5 #
6 # All rights reserved. This program and the accompanying materials
7 # are made available under the terms of the Eclipse Public License v1.0
8 # which accompanies this distribution, and is available at
9 # http://www.eclipse.org/legal/epl-v10.html
10 ##############################################################################
11 echo "---> cmake-sonarqube.sh"
12 cd mgxapp || return
13 docker build -t ric-plt-utils -f Dockerfile.build .
14 docker create --name  ric-plt-utils ric-plt-utils
15 docker cp ric-plt-utils:/playpen/build/test/ .
16 docker rm ric-plt-utils
17 echo "---> cmake-sonarqube.sh ends"