summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorSzilard Cserey <szilard.cserey@ericsson.com>2015-09-18 16:37:28 +0200
committerSzilard Cserey <szilard.cserey@ericsson.com>2015-09-18 16:37:28 +0200
commitf875d7938f019110a53c1726789d3996b3c1ba05 (patch)
tree2d524b283ab56d6fbc5bc9930fc5c70c40895786 /jjb
parent18055b46af3362065540fd7db283622a974a82a2 (diff)
New job for Fuel Plugin Build
Update of Fuel Deploy job - for fetching the newly build Fuel Plugin Change-Id: I983f4244739370510012ddf6445667f53def3734 Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
Diffstat (limited to 'jjb')
-rw-r--r--jjb/genesis/genesis-fuel.yml37
1 files changed, 34 insertions, 3 deletions
diff --git a/jjb/genesis/genesis-fuel.yml b/jjb/genesis/genesis-fuel.yml
index 405fbc0ad..f99fa9308 100644
--- a/jjb/genesis/genesis-fuel.yml
+++ b/jjb/genesis/genesis-fuel.yml
@@ -374,6 +374,7 @@
builders:
- 'fuel-download-artifact'
+ - 'fuel-opendaylight-plugin-build'
- 'fuel-deploy'
publishers:
@@ -524,6 +525,35 @@
echo "Done!"
- builder:
+ name: 'fuel-opendaylight-plugin-build'
+ builders:
+ - shell: |
+ #!/bin/bash
+ set -o errexit
+ set -o nounset
+ set -o pipefail
+
+ # log info to console
+ echo "Starting the build of Fuel Opendaylight Plugin. This could take some time..."
+ echo "--------------------------------------------------------"
+ echo
+
+ export ODL_PLUGIN_BRANCH="juno/lithium-sr1"
+
+ cd $WORKSPACE
+ git clone https://github.com/stackforge/fuel-plugin-opendaylight
+
+ pushd $WORKSPACE/fuel-plugin-opendaylight
+ git checkout $ODL_PLUGIN_BRANCH
+ popd
+
+ fpb --build fuel-plugin-opendaylight/
+
+ echo
+ echo "--------------------------------------------------------"
+ echo "Done!"
+
+- builder:
name: 'fuel-deploy'
builders:
- shell: |
@@ -547,8 +577,9 @@
chmod a+x $TMPDIR
# set CONFDIR, BRIDGE
- export CONFDIR=$WORKSPACE/fuel/deploy/templates/hardware_environment/old_conf/linux_foundation_lab/pod2/ha
+ export CONFDIR=$WORKSPACE/fuel/deploy/templates/hardware_environment/conf/linux_foundation_lab/pod2
export BRIDGE=pxebr
+ export PLUGIN=$WORKSPACE/fuel-plugin-opendaylight
# cleanup first
sudo $WORKSPACE/common/ci/clean.sh -base_config $WORKSPACE/foreman/ci/inventory/lf_pod2_ksgen_settings.yml
@@ -563,8 +594,8 @@
# start the deployment
echo "Issuing command"
- echo "sudo $WORKSPACE/fuel/ci/deploy.sh -iso $WORKSPACE/opnfv.iso -dea $CONFDIR/dea.yaml -dha $CONFDIR/dha.yaml -s $TMPDIR -b $BRIDGE"
- sudo $WORKSPACE/fuel/ci/deploy.sh -iso $WORKSPACE/opnfv.iso -dea $CONFDIR/dea.yaml -dha $CONFDIR/dha.yaml -s $TMPDIR -b $BRIDGE
+ echo "sudo $WORKSPACE/fuel/ci/deploy.sh -iso $WORKSPACE/opnfv.iso -dea $CONFDIR/dea.yaml -dha $CONFDIR/dha.yaml -s $TMPDIR -b $BRIDGE -p $PLUGIN"
+ sudo $WORKSPACE/fuel/ci/deploy.sh -iso $WORKSPACE/opnfv.iso -dea $CONFDIR/dea.yaml -dha $CONFDIR/dha.yaml -s $TMPDIR -b $BRIDGE -p $PLUGIN
echo
echo "--------------------------------------------------------"