artifactNumToKeep: '{build-artifact-num-to-keep}'
parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameters:
+ - opendaylight-infra-parameters:
project: '{project}'
branch: '{branch}'
refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
scm:
- gerrit-trigger-scm:
artifactNumToKeep: '1'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
scm:
- git-scm:
daysToKeep: '14'
parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameters:
+ - opendaylight-infra-parameters:
project: '{project}'
branch: '{branch}'
refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
scm:
- gerrit-trigger-scm:
artifactDaysToKeep: '14'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
- autorelease-release-tag:
release-tag: '{next-release-tag}'
- autorelease-release-branch:
artifactNumToKeep: '{build-artifact-num-to-keep}'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
- string:
name: REPORT_DIR
default: '$WORKSPACE/project-reports'
artifactNumToKeep: -1
parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameters:
- project: '{project}'
- branch: '{branch}'
- refspec: 'refs/heads/{branch}'
+ - opendaylight-infra-parameters:
+ project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
scm:
- gerrit-trigger-scm:
artifactNumToKeep: -1
parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameters:
- project: '{project}'
- branch: '{branch}'
- refspec: 'refs/heads/{branch}'
+ - opendaylight-infra-parameters:
+ project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
scm:
- gerrit-trigger-scm:
daysToKeep: 14
parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameters:
+ - opendaylight-infra-parameters:
project: '{project}'
branch: '{branch}'
refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
wrappers:
- opendaylight-infra-wrappers:
daysToKeep: 14
parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameters:
+ - opendaylight-infra-parameters:
project: '{project}'
branch: '{branch}'
refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
scm:
- git-scm-with-submodules:
artifactNumToKeep: '{build-artifact-num-to-keep}'
parameters:
- - project-parameter:
- project: 'integration/distribution'
- - gerrit-parameters:
+ - opendaylight-infra-parameters:
project: '{project}'
branch: '{branch}'
refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
- integration-patch-refspec:
branch: '$GERRIT_REFSPEC'
artifactNumToKeep: '{build-artifact-num-to-keep}'
parameters:
- - project-parameter:
- project: 'integration/distribution'
- - gerrit-parameters:
+ - opendaylight-infra-parameters:
project: '{project}'
branch: '{branch}'
refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
scm:
- gerrit-trigger-scm:
artifactNumToKeep: '{build-num-to-keep}'
parameters:
- - project-parameter:
- project: 'integration/distribution'
+ - opendaylight-infra-parameters:
+ project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
- integration-branch:
branch: '{branch}'
- integration-bundleurl:
artifactNumToKeep: '{build-num-to-keep}'
parameters:
- - project-parameter:
- project: 'integration/distribution'
+ - opendaylight-infra-parameters:
+ project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
- integration-branch:
branch: '{branch}'
- integration-bundleurl:
#
# Parameters:
#
-# project-parameter: main project integration/test ($PROJECT)
+# opendaylight-infra-parameters: main project integration/test ($PROJECT)
# jre: (openjdk7 or openjdk8) Java runtime environment to use when launching ODL
# integration-branch: distribution branch ($BRANCH)
# integration-controller-bundleurl: distribution URL ($BUNDLEURL)
artifactNumToKeep: '{build-num-to-keep}'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: 'integration/test'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
- integration-branch:
branch: 'stable/beryllium'
- integration-distribution-stream:
artifactNumToKeep: '{build-num-to-keep}'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: 'integration/test'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
- integration-branch:
branch: '{branch}'
- integration-distribution-stream:
artifactNumToKeep: '{build-num-to-keep}'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: 'integration/test'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
- integration-branch:
branch: '{branch}'
- integration-distribution-stream:
artifactNumToKeep: '{build-num-to-keep}'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: 'integration/test'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
- integration-branch:
branch: 'stable/beryllium'
- integration-distribution-stream:
artifactNumToKeep: '{build-num-to-keep}'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: 'integration/test'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
- integration-branch:
branch: '{branch}'
- integration-distribution-stream:
artifactNumToKeep: '{build-num-to-keep}'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: 'integration/test'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
- integration-branch:
branch: '{branch}'
- integration-distribution-stream:
artifactNumToKeep: '{build-num-to-keep}'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: 'integration/test'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
- integration-branch:
branch: '{branch}'
- integration-distribution-stream:
artifactNumToKeep: '{build-num-to-keep}'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: 'integration/test'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
- integration-branch:
branch: '{branch}'
- integration-distribution-stream:
artifactNumToKeep: '{build-artifact-num-to-keep}'
parameters:
- - gerrit-parameters:
+ - opendaylight-infra-parameters:
project: '{project}'
branch: '{branch}'
refspec: '$GERRIT_REFSPEC'
- - project-parameter:
- project: '{project}'
+ artifacts: '{archive-artifacts}'
- integration-branch:
branch: '{branch}'
- integration-distribution-git-url
artifactNumToKeep: '{build-artifact-num-to-keep}'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: 'integration/test'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
- integration-branch:
branch: 'stable/beryllium'
- integration-distribution-stream:
artifactNumToKeep: '{build-artifact-num-to-keep}'
parameters:
- - gerrit-parameters:
+ - opendaylight-infra-parameters:
project: '$GERRIT_PROJECT'
branch: '{branch}'
refspec: '$GERRIT_REFSPEC'
- - project-parameter:
- project: '$GERRIT_PROJECT'
+ artifacts: '{archive-artifacts}'
- integration-branch:
branch: '{branch}'
- integration-distribution-git-url
artifactNumToKeep: '{build-artifact-num-to-keep}'
parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameters:
+ - opendaylight-infra-parameters:
project: '{project}'
branch: '{branch}'
refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
scm:
- gerrit-trigger-scm:
daysToKeep: '198'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
wrappers:
- opendaylight-infra-wrappers:
artifactNumToKeep: '1'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
scm:
- git-scm:
daysToKeep: '198'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
wrappers:
- opendaylight-infra-wrappers:
artifactNumToKeep: '{build-artifact-num-to-keep}'
parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameters:
+ - opendaylight-infra-parameters:
project: '{project}'
branch: '{branch}'
refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
scm:
- gerrit-trigger-scm:
artifactNumToKeep: '{build-artifact-num-to-keep}'
parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameters:
+ - opendaylight-infra-parameters:
project: '{project}'
branch: '{branch}'
refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
scm:
- gerrit-trigger-scm:
artifactNumToKeep: '{build-artifact-num-to-keep}'
parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameters:
+ - opendaylight-infra-parameters:
project: '{project}'
branch: '{branch}'
refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
scm:
- gerrit-trigger-scm:
artifactNumToKeep: '1'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
scm:
- git-scm:
# Timeout in minutes
build-timeout: 360
+ # openstack-infra-parameters defaults
+ archive-artifacts: ''
+ branch: master
+
# Maven versions
mvn30: 'Maven 3.0.5'
mvn31: 'Maven 3.1.1'
daysToKeep: 7
parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameters:
+ - opendaylight-infra-parameters:
project: '{project}'
branch: 'master'
refspec: 'refs/heads/master'
+ artifacts: '{archive-artifacts}'
scm:
- gerrit-trigger-scm:
artifactNumToKeep: -1
parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameters:
+ - opendaylight-infra-parameters:
project: '{project}'
branch: 'master'
refspec: 'refs/heads/master'
+ artifacts: '{archive-artifacts}'
scm:
- gerrit-trigger-scm:
artifactNumToKeep: -1
parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameters:
+ - opendaylight-infra-parameters:
project: '{project}'
branch: 'master'
refspec: 'refs/heads/master'
+ artifacts: '{archive-artifacts}'
scm:
- gerrit-trigger-scm:
artifactNumToKeep: -1
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: '{project}'
+ branch: 'master'
+ refspec: 'refs/heads/master'
+ artifacts: '{archive-artifacts}'
scm:
- git-scm:
artifactDaysToKeep: -1
artifactNumToKeep: -1
+ parameters:
+ - opendaylight-infra-parameters:
+ project: '{project}'
+ branch: 'master'
+ refspec: 'refs/heads/master'
+ artifacts: '{archive-artifacts}'
+
wrappers:
- opendaylight-infra-wrappers:
build-timeout: '{build-timeout}'
# OLD Releng macros
- parameter:
- name: project-parameter
+ name: opendaylight-infra-parameters
parameters:
- string:
name: PROJECT
default: '{project}'
- description: "JJB configured PROJECT parameter to identify an ODL Gerrit project"
-
-- parameter:
- name: gerrit-parameters
- parameters:
+ description: 'Parameter to identify an ODL Gerrit project'
+ - string:
+ name: ARCHIVE_ARTIFACTS
+ default: '{artifacts}'
+ description: 'Artifacts to archive into logs.opendaylight.org'
- string:
name: GERRIT_PROJECT
default: '{project}'
numToKeep: '{build-num-to-keep}'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
scm:
- git-scm:
artifactNumToKeep: '{build-artifact-num-to-keep}'
parameters:
- - project-parameter:
- project: 'integration/distribution'
+ - opendaylight-infra-parameters:
+ project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
scm:
- git-scm:
artifactNumToKeep: '{build-artifact-num-to-keep}'
parameters:
- - gerrit-parameters:
+ - opendaylight-infra-parameters:
project: '{project}'
branch: '{branch}'
refspec: 'refs/heads/{branch}'
- - project-parameter:
- project: '{project}'
+ artifacts: '{archive-artifacts}'
- integration-distribution-git-url
scm:
artifactNumToKeep: '{build-artifact-num-to-keep}'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
scm:
- git-scm:
daysToKeep: '14'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
scm:
- git-scm:
artifactNumToKeep: '{build-artifact-num-to-keep}'
parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameters:
+ - opendaylight-infra-parameters:
project: '{project}'
branch: '{branch}'
refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
- autorelease-release-tag:
release-tag: 'validate'
- autorelease-release-branch:
daysToKeep: '30'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
- build-tag
- stage-id-parameter:
stage-id: '{stage-id}'
jdk: '{jdk}'
parameters:
- - project-parameter:
+ - opendaylight-infra-parameters:
project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
- p2zip-parameter
wrappers:
artifactNumToKeep: '-1'
parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameters:
+ - opendaylight-infra-parameters:
project: '{project}'
branch: '{branch}'
refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
scm:
- git:
concurrent: false
parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameters:
+ - opendaylight-infra-parameters:
project: '{project}'
branch: '{branch}'
refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
wrappers:
- opendaylight-infra-wrappers:
artifactNumToKeep: '-1'
parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameters:
+ - opendaylight-infra-parameters:
project: '{project}'
branch: '{branch}'
refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
scm:
- git:
artifactNumToKeep: '{build-artifact-num-to-keep}'
parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameters:
+ - opendaylight-infra-parameters:
project: '{project}'
branch: '{branch}'
refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
scm:
- gerrit-trigger-scm:
artifactNumToKeep: '{build-artifact-num-to-keep}'
parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameters:
+ - opendaylight-infra-parameters:
project: '{project}'
branch: '{branch}'
refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
scm:
- gerrit-trigger-scm: