release-branch: '{branch}'
- autorelease-release-datestamp:
datestamp: true
+ - string:
+ name: CLONE_URL
+ default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease'
+ description: "Autorelease clone URL"
scm:
- git:
- url: 'https://git.opendaylight.org/gerrit/releng/autorelease'
+ url: '$CLONE_URL'
refspec: ''
branches:
- 'origin/{branch}'
skip-tag: true
- shallow-clone: true
submodule:
recursive: true
+ timeout: 15
wrappers:
- autorelease-build-timeout
branches:
- 'origin/{branch}'
skip-tag: true
- shallow-clone: true
choosing-strategy: 'gerrit'
# Macro: integration-distribution-scm
branches:
- 'origin/{branch}'
skip-tag: true
- shallow-clone: true
# Macro: integration-trigger-patch-submitted
# Operation: this macro sets a trigger for patch submitted on a path pattern
count: '{mininet-vms}'
stop-on-terminate: False
+# Macro: integration-jclouds-controller-devstack
+# Operation: this macro will spin the controller and devstack vms
+# Used by: {project}-csit-openstack job templates
+- wrapper:
+ name: integration-jclouds-controller-devstack
+ wrappers:
+ - jclouds:
+ instances:
+ - rk-c7-java:
+ cloud-name: 'Rackspace DFW - Integration Dynamic Lab'
+ count: '{controller-vms}'
+ stop-on-terminate: False
+ - rk-c7-devstack:
+ cloud-name: 'Rackspace DFW - Devstack'
+ count: '{openstack-vms}'
+ stop-on-terminate: False
+
#################
# Shell Scripts #
#################
!include-raw:
- include-raw-integration-deploy-devstack-testing.sh
-# Macro: integration-deploy-controller
-# Operation: this macro prepares 3-node cluster controller
-# Used by: {project}-csit-3node-* job templates
-
-- builder:
- name: integration-deploy-controller
- builders:
- - shell:
- !include-raw:
- - include-raw-integration-deploy-controller.sh
-
# Macro: integration-configure-clustering
# Operation: this macro configures the clustering
# Used by: {project}-csit-3node-* job templates
!include-raw:
- include-raw-integration-rebase-gerrit-patch.sh
+- builder:
+ name: integration-deploy-openstack-run-test
+ builders:
+ - shell:
+ !include-raw:
+ - include-raw-integration-deploy-openstack-run-test.sh
##############
# Publishers #
##############
default: '{refspec}'
description: "GERRIT_REFSPEC parameter if not given by trigger"
+- parameter:
+ name: build-tag
+ parameters:
+ - string:
+ name: BUILD_TAG
+ default: ''
+ description: 'Tag in Git to checkout'
+
- parameter:
name: controller-version-parameter
parameters:
default: 'master'
description: 'distribution repo branch to build with'
+- parameter:
+ name: p2zip-parameter
+ parameters:
+ - string:
+ name: P2ZIP_URL
+ default: ''
+ description: 'Nexus staging profile id'
+
+- parameter:
+ name: stage-id-parameter
+ parameters:
+ - string:
+ name: STAGING_PROFILE_ID
+ default: '{stage-id}'
+ description: 'Nexus staging profile id'
+
- scm:
name: git-scm
scm:
branches:
- 'origin/{branch}'
skip-tag: true
- shallow-clone: true
wipe-workspace: true
- scm:
branches:
- 'origin/$GERRIT_BRANCH'
skip-tag: true
- shallow-clone: true
choosing-strategy: '{choosing-strategy}'
- wrapper:
variable: 'GLOBAL_SETTINGS_FILE'
- file-id: '{settings-file}'
variable: 'SETTINGS_FILE'
+
+- builder:
+ name: releng-generate-p2pom
+ builders:
+ - shell: !include-raw: include-raw-generate-p2pom.sh
+
+- builder:
+ name: releng-update-p2composite-metadata
+ builders:
+ - shell: !include-raw: include-raw-update-p2composite-metadata.sh
+ - maven-target:
+ maven-version: '{maven-version}'
+ pom: 'deploy-composite-repo.xml'
+ goals: 'clean deploy -V -Dmaven.repo.local=/tmp/r'
+ settings: '{settings}'
+ global-settings: '{global-settings}'
+
+- builder:
+ name: releng-stage-release
+ builders:
+ - shell: !include-raw: include-raw-stage-release.sh