installer: 'fuel'
jobs:
- - 'genesis-fuel-verify'
+ - 'genesis-fuel-verify-{stream}'
- 'genesis-fuel-merge'
- 'genesis-fuel-daily-{stream}'
- - 'genesis-fuel-build'
- - 'genesis-fuel-deploy'
+ - 'genesis-fuel-build-{stream}'
+ - 'genesis-fuel-deploy-{stream}'
- 'genesis-fuel-deploy-virtual'
+ # stream: branch with - in place of / (eg. stable-arno)
+ # branch: branch (eg. stable/arno)
stream:
- master:
branch: 'master'
+ gs-pathname: ''
+ - stable-arno:
+ branch: 'stable/arno'
+ gs-pathname: '/arno'
########################
# job templates
########################
- job-template:
- name: 'genesis-fuel-verify'
+ name: 'genesis-fuel-verify-{stream}'
project-type: freestyle
- project-parameter:
project: '{project}'
- gerrit-parameter:
- branch: 'master'
+ branch: '{branch}'
- fuel-parameter:
installer: '{installer}'
+ gs-pathname: '{gs-pathname}'
scm:
- gerrit-trigger-scm:
project-pattern: 'genesis'
branches:
- branch-compare-type: 'ANT'
- branch-pattern: '**/master'
+ branch-pattern: '**/{branch}'
file-paths:
- compare-type: ANT
pattern: 'common/**'
branch: 'master'
- fuel-parameter:
installer: '{installer}'
+ gs-pathname: ''
scm:
- gerrit-trigger-scm:
node: ericsson-build
- disabled: true
+ disabled: false
parameters:
- project-parameter:
project: '{project}'
- fuel-parameter:
installer: '{installer}'
+ gs-pathname: '{gs-pathname}'
scm:
- git-scm:
credentials-id: '{ssh-credentials}'
refspec: ''
- branch: master
-
- triggers:
- - timed: 'H */6 * * *'
+ branch: '{branch}'
logrotate:
daysToKeep: 30
builders:
- trigger-builds:
- - project: 'genesis-fuel-build'
+ - project: 'genesis-fuel-build-{stream}'
git-revision: true
block: true
- trigger-builds:
- - project: 'genesis-fuel-deploy-virtual'
- git-revision: true
- block: false
- - trigger-builds:
- - project: 'genesis-fuel-deploy'
+ - project: 'genesis-fuel-deploy-{stream}'
git-revision: true
block: true
- trigger-builds:
block: true
- job-template:
- name: 'genesis-fuel-build'
+ name: 'genesis-fuel-build-{stream}'
project-type: freestyle
project: '{project}'
- fuel-parameter:
installer: '{installer}'
+ gs-pathname: '{gs-pathname}'
scm:
- git-scm:
credentials-id: '{ssh-credentials}'
refspec: ''
- branch: master
+ branch: '{branch}'
builders:
- 'fuel-build'
- 'fuel-workspace-cleanup'
- job-template:
- name: 'genesis-fuel-deploy'
+ name: 'genesis-fuel-deploy-{stream}'
project-type: freestyle
- disabled: true
+ disabled: false
node: opnfv-jump-1
project: '{project}'
- fuel-parameter:
installer: '{installer}'
+ gs-pathname: '{gs-pathname}'
- string:
name: GIT_BASE
default: ssh://gerrit.opnfv.org:29418/$PROJECT
- git-scm:
credentials-id: '{ssh-credentials}'
refspec: ''
- branch: master
+ branch: '{branch}'
logrotate:
daysToKeep: 30
project-type: freestyle
- disabled: false
+ disabled: true
node: ericsson-build
project: '{project}'
- fuel-parameter:
installer: '{installer}'
+ gs-pathname: ''
scm:
- git-scm:
description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
- string:
name: GS_URL
- default: artifacts.opnfv.org/$PROJECT/$INSTALLER
+ default: artifacts.opnfv.org/$PROJECT/$INSTALLER{gs-pathname}
description: "URL to Google Storage."
########################
# start the deployment
echo "Issuing command"
- echo "sudo TMPDIR=${TMPDIR} ${TOPDIR}/deploy/deploy.sh ${WORKSPACE}/opnfv.iso ${TOPDIR}/configs/lf_pod1/dea.yaml ${TOPDIR}/configs/lf_pod1/dha.yaml"
- sudo TMPDIR=${TMPDIR} ${TOPDIR}/deploy/deploy.sh ${WORKSPACE}/opnfv.iso ${TOPDIR}/configs/lf_pod1/dea.yaml ${TOPDIR}/configs/lf_pod1/dha.yaml
+ echo "sudo TMPDIR=${TMPDIR} ${TOPDIR}/deploy/deploy.sh ${WORKSPACE}/opnfv.iso ${TOPDIR}/configs/lf_pod1/dea_no-ha.yaml ${TOPDIR}/configs/lf_pod1/dha.yaml"
+ sudo TMPDIR=${TMPDIR} ${TOPDIR}/deploy/deploy.sh ${WORKSPACE}/opnfv.iso ${TOPDIR}/configs/lf_pod1/dea_no-ha.yaml ${TOPDIR}/configs/lf_pod1/dha.yaml
echo
echo "--------------------------------------------------------"
set -o nounset
set -o pipefail
- # log info to console
- echo "Downloading the $INSTALLER artifact. This could take some time..."
- echo "--------------------------------------------------------"
- echo
-
# get the latest.properties file in order to get info regarding latest artifact
curl -s -o $WORKSPACE/latest.properties http://$GS_URL/latest.properties
# source the file so we get OPNFV vars
source latest.properties
+ # log info to console
+ echo "Downloading the $INSTALLER artifact using URL http://$OPNFV_ARTIFACT_URL"
+ echo "This could take some time..."
+ echo "--------------------------------------------------------"
+ echo
+
# download the file
curl -s -o $WORKSPACE/opnfv.iso http://$OPNFV_ARTIFACT_URL > gsutil.iso.log 2>&1