X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Freleng-macros.yaml;h=2c558d698c228a33969a0362e362a73396a324c6;hb=755df2529e71a80299c0036b61eb5464d40133a3;hp=11f02f15daf390ddc7cdba0779c785a3a45322bb;hpb=1162916060588bb40544f4535d200d22f25a68d1;p=releng%2Fbuilder.git diff --git a/jjb/releng-macros.yaml b/jjb/releng-macros.yaml index 11f02f15d..2c558d698 100644 --- a/jjb/releng-macros.yaml +++ b/jjb/releng-macros.yaml @@ -32,6 +32,14 @@ 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: @@ -40,6 +48,38 @@ default: '{odl_version}' description: 'Controller version (for use with openstacks networking_odl project)' +- parameter: + name: patches-to-build-parameter + parameters: + - string: + name: PATCHES_TO_BUILD + default: '' + description: 'csv list of patches in project:changeset format to build distribution with' + +- parameter: + name: distribution-branch-to-build-parameter + parameters: + - string: + name: DISTRIBUTION_BRANCH_TO_BUILD + 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: @@ -205,7 +245,6 @@ builders: - sonatype-clm: application-name: '{application-name}' - scan-targets: '**/target/**' - builder: name: releng-check-unicode @@ -222,3 +261,24 @@ 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