X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fautorelease%2Fautorelease-templates.yaml;h=58a2336fa964b2c586bb38b684afdc972a294f10;hb=cb52af35b0fa1272dec4181513fd3227b4df9f4c;hp=b36b7a57fe657d0f27495882fee84489870c860e;hpb=475879c77a4e1f3ec5422d55f8578d2acf9acd13;p=releng%2Fbuilder.git diff --git a/jjb/autorelease/autorelease-templates.yaml b/jjb/autorelease/autorelease-templates.yaml index b36b7a57f..58a2336fa 100644 --- a/jjb/autorelease/autorelease-templates.yaml +++ b/jjb/autorelease/autorelease-templates.yaml @@ -1,5 +1,56 @@ --- # Autorelease build jobs +- job-template: + name: autorelease-branch-cut + + ##################### + # Job Configuration # + ##################### + + project-type: freestyle + node: centos7-builder-2c-2g + + properties: + - opendaylight-infra-properties: + build-days-to-keep: 7 + + parameters: + - lf-infra-parameters: + project: releng/autorelease + branch: master + stream: master + lftools-version: '{lftools-version}' + - string: + name: RELEASE + description: | + Release name to branch cut. + Eg. Lithium, Beryllium, Boron, Carbon... + - bool: + name: DRY_RUN + default: true + description: | + If DRY_RUN is enabled modifications are not published to Gerrit. + + scm: + - lf-infra-gerrit-scm: + git-url: '$GIT_URL/$GERRIT_PROJECT' + branch: master + refspec: 'refs/heads/master' + jenkins-ssh-credential: opendaylight-jenkins-ssh + submodule-recursive: true + choosing-strategy: default + + wrappers: + - lf-infra-wrappers: + build-timeout: 10 + jenkins-ssh-credential: opendaylight-jenkins-ssh + + builders: + - shell: !include-raw-escape: branch-cut.sh + + publishers: + - lf-infra-publish + - job-template: name: 'autorelease-release-{stream}' @@ -154,7 +205,7 @@ - job-template: name: autorelease-update-validate-jobs-{stream} project-type: freestyle - node: centos7-builder-2c-8g + node: centos7-builder-2c-1g properties: - lf-infra-properties: @@ -212,7 +263,7 @@ - job-template: name: autorelease-version-bump-{stream} project-type: freestyle - node: centos7-builder-4c-16g + node: '{build-node}' properties: - opendaylight-infra-properties: @@ -235,7 +286,9 @@ name: DRY_RUN default: true description: | - If DRY_RUN is enabled modifications are not published to Gerrit. + If DRY_RUN is enabled modifications are not published to Gerrit + and artifacts are not pushed to Nexus. Instead the build will be + performed using the goals "clean install". - maven-exec: maven-version: mvn33 @@ -348,6 +401,8 @@ disabled: false project-type: freestyle + # Note: This NEEDS to be hardcoded as projects should NOT be allowed to + # override the build node. node: centos7-builder-2c-8g concurrent: true jdk: '{java-version}'