Browse Source

fix build.sh

Change-Id: I091e79decf8a7df989e74f4b562229d9aaf5baf8
dongfeng 3 years ago
parent
commit
1e0aef4a44
1 changed files with 6 additions and 7 deletions
  1. 6
    7
      pre_build_hook

+ 6
- 7
pre_build_hook View File

@@ -2,13 +2,12 @@
2 2
 set -eux
3 3
 DIR="$(dirname `readlink -f $0`)"
4 4
 TARGET="${DIR}/deployment_scripts/puppet/modules/onos/files"
5
-packages=packages.tar.gz
6
-packages_url=http://58.251.166.184:9999/OPNFV/Compass4nfv/cache/packages.tar.gz
5
+onos=http://205.177.226.235:9999/onosfw/onos-1.3.0.tar.gz
6
+jdk=http://205.177.226.235:9999/onosfw/jdk-8u51-linux-x64.tar.gz
7
+repo=http://205.177.226.235:9999/onosfw/repository.tar
7 8
 cd $TARGET
8 9
 if [ ! -f "onos-1.3.0.tar.gz" ]; then
9
-  wget --no-cookies $packages_url -P $TARGET
10
-  tar zxf packages.tar.gz -C $TARGET
11
-  mv packages/onos/* ./
12
-  rm -rf packages.tar.gz
13
-  rm -rf packages
10
+  wget  $onos -P $TARGET
11
+  wget  $jdk -P $TARGET
12
+  wget  $repo -P $TARGET
14 13
 fi

Loading…
Cancel
Save