Improve p2deploy scripts to support snapshot deploy 32/39132/3
authorThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 19 May 2016 23:05:36 +0000 (19:05 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 6 Jun 2016 15:09:21 +0000 (15:09 +0000)
commitc0bb22d63b1f1fe08e2550e400976d4cca3bc42f
treeacad25745a2f8bd44bbebff8ffd4eab539bebc2e
parentb4a052e2af98e72c8ecc3468ebdf267594f988a2
Improve p2deploy scripts to support snapshot deploy

- Will deploy a release if an opendaylight.snapshot URL is not found
- Will deploy latest SNAPSHOT build if P2ZIP_URL is blank
- Will deploy snapshot build if P2ZIP_URL contains opendaylight.snapshot

TODO:
- Currently hardcoded version to 1.1.1-SNAPSHOT it would be better if we
  can detect the latest x.y.z-SNAPSHOT automatically

Bug: 5869
Change-Id: I1fe343e0664ae8badc1f1f2bce88f66dea759c19
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/include-raw-generate-p2pom.sh
jjb/include-raw-update-p2composite-metadata.sh
jjb/releng-macros.yaml
jjb/releng-templates.yaml