Distribution test optimization
[releng/builder.git] / jjb / autorelease / autorelease-templates.yaml
index 643e0ae620f1a78178c72bb3a9fd913c533b2ade..6ba0a0b66d36501a5d2ef58e6942668541a0d447 100644 (file)
           # way for downstream jobs to pull the latest version of this file
           # in their builds.
           artifacts: 'dependencies.log'
-      - email-notification:
-          email-recipients: '{email-recipients}'
-          email-prefix: '[autorelease]'
       - trigger-parameterized-builds:
           - project: 'integration-distribution-test-{integration-test}'
             condition: UNSTABLE_OR_BETTER
             property-file: variables.jenkins-trigger
             fail-on-missing: true
+          - project: 'integration-distribution-test-{integration-test}'
+            condition: FAILED
           - project: 'packaging-build-rpm-master'
             condition: UNSTABLE_OR_BETTER
             predefined-parameters: DOWNLOAD_URL=$BUNDLEURL
             fail-on-missing: true
       - opendaylight-infra-shiplogs:
           maven-version: 'mvn33'
-
-
-- job-template:
-    name: 'autorelease-project-report-{stream}'
-
-    project-type: freestyle
-    node: centos7-java-builder-2c-8g
-
-    properties:
-      - opendaylight-infra-properties:
-          build-days-to-keep: '{build-days-to-keep}'
-
-    parameters:
-      - opendaylight-infra-parameters:
-          project: '{project}'
-          branch: '{branch}'
-          refspec: 'refs/heads/{branch}'
-          artifacts: '{archive-artifacts}'
-      - string:
-          name: REPORT_DIR
-          default: '$WORKSPACE/project-reports'
-          description: "The directory containing project reports"
-
-    scm:
-      - git:
-          credentials-id: 'opendaylight-jenkins-ssh'
-          url: '$GIT_BASE'
-          refspec: '$GERRIT_REFSPEC'
-          branches:
-            - '$GERRIT_BRANCH'
-          choosing-strategy: 'gerrit'
-          skip-tag: true
-          submodule:
-            recursive: true
-
-    wrappers:
-      - opendaylight-infra-wrappers:
-          build-timeout: '30'
-
-    triggers:
-      - timed: '0 0 * * 0'
-
-    builders:
-      - shell: 'echo "DATE=`date +%Y-%m-%d`" > $WORKSPACE/variables.prop'
-      - inject:
-          properties-file: variables.prop
-      - autorelease-generate-project-report
-      - shell: "./scripts/list-project-dependencies.sh"
-      - autorelease-determine-merge-order
-      - autorelease-sys-stats
-
-    publishers:
-      - email-ext:
-          attachments: 'project-reports/*.log'
-          recipients: 'skitt@redhat.com thanh.ha@linuxfoundation.org'
-          reply-to: dev@lists.opendaylight.org
-          content-type: default
-          subject: '[releng] ODL {stream} project report for ${{ENV, var="DATE"}}'
-          body: |
-              This is a project report generated on $DATE listing the commit
-              history of ODL projects for the past week. See attached
-              git-report.log
-              Archive also available on Jenkins at $BUILD_URL
-          always: true
-      - opendaylight-infra-shiplogs:
-          maven-version: 'mvn33'