Merge "Improve DRY_RUN mode to perform a build"
authorAnil Belur <abelur@linuxfoundation.org>
Wed, 28 Feb 2018 01:33:14 +0000 (01:33 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 28 Feb 2018 01:33:14 +0000 (01:33 +0000)
1  2 
jjb/autorelease/autorelease-templates.yaml

index 495787e1f5c5f0085333b00a0d3f2136f1d2a6d9,e8d332d817d462ba4b872a5d95406091bfe28d0a..58a2336fa964b2c586bb38b684afdc972a294f10
@@@ -1,56 -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}'
  
            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