fix clean on RO package creation
[osm/RO.git] / devops-stages / stage-build.sh
index aea4749..a2f565a 100755 (executable)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+set -ex
+
 rm -rf deb_dist/*
 mkdir -p deb_dist
 
 # main RO module
-make -C RO clean package BRANCH=master
+make -C RO clean package
 cp RO/deb_dist/python3-osm-ro_*.deb deb_dist/
 
 # RO client
 make -C RO-client clean package
 cp RO-client/deb_dist/python3-osm-roclient_*.deb deb_dist/
 
-# VIM plugings:  vmware, openstack, AWS, fos, azure, Opennebula, 
+# RO plugin
+make -C RO-plugin clean package
+cp RO-plugin/deb_dist/python3-osm-ro-plugin_*.deb deb_dist/
+
+# NG-RO
+make -C NG-RO clean package
+cp NG-RO/deb_dist/python3-osm-ng-ro_*.deb deb_dist/
+
+# VIM plugings:  vmware, openstack, AWS, fos, azure, Opennebula,
 for vim_plugin in RO-VIM-*
 do
     make -C $vim_plugin clean package