summaryrefslogtreecommitdiffstats
path: root/ci/build.sh
blob: 4b49fb1bb1b92f21c940c03d59d1390a601feb1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
##############################################################################
# Copyright (c) 2016 ZTE Coreporation and others.
# hu.zhijiang@zte.com.cn
# sun.jing22@zte.com.cn
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################

# TODO: Let JJB to pass $WORKDIR instead of $BUILD_OUTPUT
DAISYDIR=$1/../
OPNFV_ARTIFACT_VERSION=$2

cd ci/build_rpm
./build_rpms.sh $DAISYDIR $OPNFV_ARTIFACT_VERSION