summaryrefslogtreecommitdiffstats
path: root/ci/build.sh
diff options
context:
space:
mode:
authorzeyu zhu <zhu.zeyu@zte.com.cn>2016-11-29 20:09:59 +0800
committerzeyu zhu <zhu.zeyu@zte.com.cn>2016-12-14 14:28:24 +0800
commit04a66a586cc90b2be310d2323d526e11c95ab258 (patch)
tree528422e0b41e9c853b9fb76ebb50959d219822eb /ci/build.sh
parent6963d16b32f0c40ea45be66bbd189d2d5bb070fb (diff)
Implement of build script in Escalator
Change-Id: I1296eec05c59f253ee5ce73d2477825689997275 Signed-off-by: zeyu zhu <zhu.zeyu@zte.com.cn>
Diffstat (limited to 'ci/build.sh')
-rwxr-xr-xci/build.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/ci/build.sh b/ci/build.sh
new file mode 100755
index 0000000..5a6ad73
--- /dev/null
+++ b/ci/build.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+# TODO: Let JJB to pass $WORKDIR instead of $BUILD_OUTPUT
+ESCALATORDIR=$1/../
+OPNFV_ARTIFACT_VERSION=$2
+
+cd ci/build_rpm
+./build_rpms.sh $ESCALATORDIR $OPNFV_ARTIFACT_VERSION