Remove autorelease-project-report-{stream} jobs 03/53203/2
authorAnil Belur <abelur@linuxfoundation.org>
Mon, 13 Mar 2017 09:43:28 +0000 (19:43 +1000)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 13 Mar 2017 16:04:57 +0000 (12:04 -0400)
This job was useful when Stephen was sending weekly reports on
interesting developments in ODL however this hasn't really happened in
awhile due to time constraints. Remove the job to free up resources.

This patch removes:

    - Job
    - Macro
    - Script
    - Template

Change-Id: I551e35a884db01fd85036410a122f949f5c6dd2a
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
jjb/autorelease/autorelease-macros.yaml
jjb/autorelease/autorelease-projects.yaml
jjb/autorelease/autorelease-templates.yaml
jjb/autorelease/include-raw-generate-project-report.sh [deleted file]
yamllint.conf

index 3e3008d310533ec737f64c44e2422b56b153ba1e..94ded8d499e2e961b0603eea89de1ba64909452d 100644 (file)
       - inject:
           properties-file: variables.prop
 
-- builder:
-    name: autorelease-generate-project-report
-    builders:
-      - shell: !include-raw: include-raw-generate-project-report.sh
-
 - builder:
     name: autorelease-fix-relative-paths
     builders:
index b6af6d13ffa202a5b8b50dec4095b69b6e10641e..36e385a6c0621a7265eea6bcff7d87116a92c43a 100644 (file)
@@ -3,7 +3,6 @@
     name: autorelease-projects
     jobs:
       - 'autorelease-release-{stream}'
-      - 'autorelease-project-report-{stream}'
 
     stream:
       - carbon:
index 643e0ae620f1a78178c72bb3a9fd913c533b2ade..847b479a6eb5ecb87ea4f004ad440f0b4f2a8a25 100644 (file)
       - 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'
diff --git a/jjb/autorelease/include-raw-generate-project-report.sh b/jjb/autorelease/include-raw-generate-project-report.sh
deleted file mode 100644 (file)
index a531d5f..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/bash
-# @License EPL-1.0 <http://spdx.org/licenses/EPL-1.0>
-##############################################################################
-# Copyright (c) 2015, 2017 The Linux Foundation and others.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-##############################################################################
-
-GIT_REPORT_FILE="$REPORT_DIR/git-report.log"
-
-mkdir "$REPORT_DIR"
-touch "$GIT_REPORT_FILE"
-
-projects=$(grep path .gitmodules | sed 's/.*= //' | sort)
-for p in $projects; do
-    {
-        echo ""
-        echo "========"
-        echo "$p"
-        echo "========"
-        echo ""
-
-        pushd "$WORKSPACE/$p"
-        git log --after="1 week ago" | sed 'sX^    Change-Id: X    -> https://git.opendaylight.org/gerrit/r/X'
-        popd
-    } >> "$GIT_REPORT_FILE"
-done
index 4484cd820d598252c12f0e2a05a484f063fe9a47..32d76ab6ea39853b71b2bffaf3208dbabd1326b7 100644 (file)
@@ -1,6 +1,8 @@
 extends: default
 
 rules:
+  empty-lines:
+    max-end: 1
   line-length:
     max: 120